Skip to content

Commit

Permalink
Swift 6 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ntnmrndn committed Nov 14, 2024
1 parent dc9f29f commit ab9a714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/StorybookKit/Primitives/BookPage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public struct BookPage: BookView, Identifiable {
_ file: StaticString = #fileID,
_ line: UInt = #line,
title: String,
@ViewBuilder destination: () -> Destination
@ViewBuilder destination: @MainActor () -> Destination
) {
self.file = file
self.line = line
Expand Down

0 comments on commit ab9a714

Please sign in to comment.