Updating error in Preview - SWIFT UI


Can any one help me with the preview error? I tried restarting the app, along with the computer but nothing seems to work. There is no error in my code, only in the preview.

Are you sure there’s no error in your code? Just from your screenshot, I can see that the multilineTextAlignment modifer is missing the leading .

Maybe see what happens when you add that in.

Thanks! It immediately worked!