Skip to content

Dynamic timelineContent which involves updating the state, isn't rendering the content. #329

Open
@miral-zymr

Description

@miral-zymr

Describe the bug
When I define items, which has the property timelineContent getting appended runtime, in a state, the content is not rendering on the content. The content is getting set on the items array.

To Reproduce
I'm adding the link to the sandbox: https://codesandbox.io/s/infallible-microservice-yzfjvz?file=/src/App.js

Expected behavior
Content should render on the screen when the items are getting rendered.

Screenshot
Screen Shot 2023-02-09 at 6 40 24 PM

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions