snaps
snaps copied to clipboard
Show actual UI errors
Currently in the UI builder of the Snaps Simulator, we show an error like "Expected value to be a valid UI component." if the UI is invalid. Instead, we should change all components to throw Superstruct errors (using assertStruct?), and render those in the error boundary.