-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Sometimes SingleBox or Details components are being passed a 'spacecraft' object & sometimes they are being passed a 'launcher' object. These objects have different keys, so a single destructuring does not work. Currently const type = useParams().type the value assigned to type is being used to determine which return statement needs to be rendered, but it seems like extra code that could be simplified. Possible a custom hook to return the custom object?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working