How to fix error

How do I fix this error

You have your preview inside the View struct. Move it outside.

How do i move it? Can you show me

Cutting and pasting code is a basic editing technique that you really ought to know.