Data is being duplicate

Hello
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
NAMIT - Hi
NAMIT - Hi
Can anyone tell why is it happening

Here is project link👇
https://x.thunkable.com/copy/c47265969766f68b8e2b98c5298785fd

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