From ab9a7143f2a84494f0eb601d5ff50b03611c49a7 Mon Sep 17 00:00:00 2001 From: Antoine Marandon Date: Thu, 14 Nov 2024 19:18:06 +0900 Subject: [PATCH] Swift 6 compatibility --- Sources/StorybookKit/Primitives/BookPage.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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