Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Forms): Fix use of unpolyfilled structuredClone in useData hook (#…
…4108) We had a spot that was using `window.structuredClone` instead of the polyfill from `@ungap/structured-clone` that is used everywhere else. Fixed that spot, and added a rule to eslint to make sure we don't forget in the future. Note that I don't make any judgement on whether we should be using this or not here, just enforcing consistency. With this linting rule in place: ![CleanShot 2024-10-10 at 14 30 28](https://github.com/user-attachments/assets/a1956341-5d2e-45c8-a59d-cc1db935668f) --------- Co-authored-by: Kim Røen <[email protected]>
- Loading branch information