From 17d2d94db669bec4d5b41883302dc3e35b664e52 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Mon, 19 Feb 2024 19:19:32 +0530 Subject: [PATCH] fix saving --- libs/remix-ui/run-tab/src/lib/components/universalDappUI.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/run-tab/src/lib/components/universalDappUI.tsx b/libs/remix-ui/run-tab/src/lib/components/universalDappUI.tsx index 488c5737d5..f82ee34578 100644 --- a/libs/remix-ui/run-tab/src/lib/components/universalDappUI.tsx +++ b/libs/remix-ui/run-tab/src/lib/components/universalDappUI.tsx @@ -136,7 +136,7 @@ export function UniversalDappUI(props: UdappProps) { } } objToSave[env][network.id].push(props.instance) - localStorage.setItem('savedContracts', JSON.stringify({ instance: objToSave, savedAt: Date.now()})) + localStorage.setItem('savedContracts', JSON.stringify(objToSave)) } const runTransaction = (lookupOnly, funcABI: FuncABI, valArr, inputsValues, funcIndex?: number) => {