From fa5a2ae198e1058f9fad75f9d1740c47ec0cd4b8 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 20 Aug 2024 15:29:39 +0100 Subject: [PATCH] Fix param --- packages/frontend-core/src/utils/memo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend-core/src/utils/memo.js b/packages/frontend-core/src/utils/memo.js index 724b3b9e66..8192be6790 100644 --- a/packages/frontend-core/src/utils/memo.js +++ b/packages/frontend-core/src/utils/memo.js @@ -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)