Data is being duplicate

I have created an app which is a chat app and saves data in Firebase but just saw that if we put the same code again and type something it displays two values for example
Created an room
Left the room
Joined again
Typed hi
Displays on the list
Can anyone tell why is it happening

Here is project link👇

I tried to upload video but it didn’t uploaded

There is no way we can figure out why something is happening without knowing how you coded it.

Share screenshots of your blocks or a link to your project and someone may be able to help.

1 Like