How to destructure properly? - SolidJS