MIT-Center-for-Collective-Intelligence / 1Ontology

Apache License 2.0
0 stars 0 forks source link

Text components do not update on state change #59

Closed stevenrick closed 1 month ago

stevenrick commented 1 month ago

src/components/OntologyComponents/Text.tsx

The Text component does not update on state change, unlike other elements on screen. This can lead to changes being made on the same Activity not being reflected to other clients also on that same Activity page. This could lead to accidental overwriting as the latest change is the one saved, even if state isn't synced between clients

Video demonstration:

https://github.com/user-attachments/assets/93773c00-cc0d-4f23-b819-0b883fe51311