aboutsummaryrefslogtreecommitdiff
path: root/packages/exchange-backoffice-ui/src/handlers
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-05-17 09:57:53 -0300
committerSebastian <sebasjm@gmail.com>2023-05-17 09:58:08 -0300
commitc850c406821064d4d69420392b32853a41cdb91e (patch)
treec4e5bc7cf8f16da7cab1cb57b4abb60eb5b5803b /packages/exchange-backoffice-ui/src/handlers
parentacf0dda83f3974187cacf58e7d81c2115f6d950d (diff)
downloadwallet-core-c850c406821064d4d69420392b32853a41cdb91e.tar.xz
version id
Diffstat (limited to 'packages/exchange-backoffice-ui/src/handlers')
-rw-r--r--packages/exchange-backoffice-ui/src/handlers/FormProvider.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/exchange-backoffice-ui/src/handlers/FormProvider.tsx b/packages/exchange-backoffice-ui/src/handlers/FormProvider.tsx
index 4397fc197..d8877333c 100644
--- a/packages/exchange-backoffice-ui/src/handlers/FormProvider.tsx
+++ b/packages/exchange-backoffice-ui/src/handlers/FormProvider.tsx
@@ -51,7 +51,7 @@ export function FormProvider<T>({
const value = useRef(initialValue ?? {});
useEffect(() => {
return function onUnload() {
- value.current = {};
+ value.current = initialValue ?? {};
};
});
return (