From 89b111453c7e9cbc557b945062b9863fff18e279 Mon Sep 17 00:00:00 2001 From: Antoine Marandon Date: Wed, 13 Nov 2024 18:10:47 +0900 Subject: [PATCH] Swift 6 --- Sources/StorybookMacrosPlugin/StorybookPreviewMacro.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/StorybookMacrosPlugin/StorybookPreviewMacro.swift b/Sources/StorybookMacrosPlugin/StorybookPreviewMacro.swift index cab24ef..eac2c08 100644 --- a/Sources/StorybookMacrosPlugin/StorybookPreviewMacro.swift +++ b/Sources/StorybookMacrosPlugin/StorybookPreviewMacro.swift @@ -48,6 +48,7 @@ public struct StorybookPreviewMacro: ExpressionMacro { stringLiteral: """ { enum \(enumName): BookProvider { + @MainActor static var bookBody: BookPage { .init( title: \(title),