You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor: Making TaskStore a regular context (#3732)
* Simplifying TaskStore by just using it as a normal context instead of using zustand. It is only really used to override things, and the pattern we used to wait until things were set in zustand clearly indicated this was the wrong approach.
* Renaming file, renaming dataElementId -> dataModelElementId
* Depth is never read(!)
* Suggestions from coderabbit in review
* I found another issue. The useLayoutSetId() hook was overly complicated, and did much of the same stuff that useCurrentLayoutSetId() already did. The main difference was the taskId source, where useLayoutSetId() preferred the one from the URL, so I renamed it to reflect that.
* Fixing import
---------
Co-authored-by: Ole Martin Handeland <[email protected]>
0 commit comments