We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d84ba7 commit 0ee3537Copy full SHA for 0ee3537
Configuration/webapp/app/routes/configuration.tsx
@@ -57,6 +57,8 @@ const ConfigurationPage = () => {
57
console.log(getValues());
58
};
59
60
+ useEffect(() => () => reset(defaultValues), [defaultValues]);
61
+
62
if (isConfigurationLoading || isConfigurationRestrictionsLoading) {
63
return <Spinner />;
64
}
@@ -65,7 +67,6 @@ const ConfigurationPage = () => {
65
67
return 'Error while loading data from the server';
66
68
69
- useEffect(() => () => reset(defaultValues), [defaultValues]);
70
71
return (
72
<>
0 commit comments