Components moved away from DOM

1 Reply
REEEEE
REEEEEā€¢10mo ago
I think you'll have to make the content for the operations be a function and then use Dynamic in the For
const operations = [
{content: () => <AiMinusIconThing />, ... },
{content: () => 2, ... },
]
const operations = [
{content: () => <AiMinusIconThing />, ... },
{content: () => 2, ... },
]
then in the For
<Dynamic component={operation.content} />
<Dynamic component={operation.content} />