Fix param

This commit is contained in:
Andrew Kingston 2024-08-20 15:29:39 +01:00
parent aba38c02b9
commit fa5a2ae198
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import { writable, get, derived } from "svelte/store"
// subscribed children will only fire when a new value is actually set
export const memo = initialValue => {
const store = writable(initialValue)
let currentJSON = JSON.stringify(null)
let currentJSON = JSON.stringify(initialValue)
const tryUpdateValue = newValue => {
const newJSON = JSON.stringify(newValue)