Closed
Description
Suggestion
From #6843 (comment), referring to all the logical ternaries in Playground.tsx
:
i have a feeling that i should extract this to separate component, this and/or condition chain is getting complex
There are indeed a lot of logical conditions in that file. It'd be nice to streamline the logic a bit to be more readable / straightforward / less complex. Maybe a dedicated component or two? Maybe an enum that gets switched on in render logic?