-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace usage of
structuredClone
with JSON dupe.
i've had a report of `structuredClone` being `undefined` which means some browsers do not support it. while likely less optimized, `JSON.parse(JSON.stringify(data))` will do the trick and allow people to use the website with prior unsupported browsers.
- Loading branch information
1 parent
89695d3
commit 6fc9ae3
Showing
1 changed file
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters