I am currently working on a project in which I call data from Firebase and display it in the UI. But I am facing a problem:
When I call the data, the text appears in the following format:
Example [“Life is fun in struggle”, “2025-09-22T10:30:00.000Z”]
I want to display only the main text (content) in my UI — i.e. “Life is fun in struggle” — but along with it, the timestamp and array format are also displayed, which confuses the user.
My requirement:
I want to display only the main text in the UI. I don’t want any timestamp, array bracket or other metadata.
If you can show the blocks data format, it would be very helpful.
Note - I send data to Firebase through the admin app and I need the clock in it, so the clock format has been added to it
Thank you