Post marked as solved
Post marked as solved with 6 replies, 1,175 views
I am getting this error in my preview:
CompileDylibError: Failed to build ContentView.swift
Compiling failed: main actor-isolated let 'previewContainer' can not be referenced from a non-isolated context
I don't know enough about @MainActor to figure this out.