diff --git a/Sources/StorybookKit/Primitives/BookPage.swift b/Sources/StorybookKit/Primitives/BookPage.swift index 281d564..2ed9210 100644 --- a/Sources/StorybookKit/Primitives/BookPage.swift +++ b/Sources/StorybookKit/Primitives/BookPage.swift @@ -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