diff options
Diffstat (limited to 'web/source/settings/components/error.tsx')
-rw-r--r-- | web/source/settings/components/error.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/web/source/settings/components/error.tsx b/web/source/settings/components/error.tsx index 977cf06c8..3ca5eb416 100644 --- a/web/source/settings/components/error.tsx +++ b/web/source/settings/components/error.tsx @@ -107,7 +107,11 @@ function Error({ error, reset }: ErrorProps) { { reset && <span className="dismiss" - onClick={reset} + onClick={(e) => { + e.preventDefault(); + e.stopPropagation(); + reset(); + }} role="button" tabIndex={0} > |