diff --git a/src/components/EndpointDialong.tsx b/src/components/EndpointDialong.tsx index a7be90a..63f433d 100644 --- a/src/components/EndpointDialong.tsx +++ b/src/components/EndpointDialong.tsx @@ -24,6 +24,10 @@ const EndpointDialog = ({ endpoint }: EndpointDialogProps) => { }; const closeSettings = () => { + if (error) { + return; + } + setOpen(false); setError(false); @@ -78,9 +82,9 @@ const EndpointDialog = ({ endpoint }: EndpointDialogProps) => { /> - - -