notum-cz / strapi-plugin-record-locking

This plugin provides the functionality to prevent data loss in cases where multiple users are simultaneously editing the same record within STRAPI v4.
20 stars 7 forks source link

Fix/unable to add record #25

Closed omikulcik closed 1 year ago

omikulcik commented 1 year ago

Due to an error caused by wrong implementation of the useEffect hook - It was returning false although it should not have a return value - the app was crashing when user added a new record. It was fixed.