diff --git a/packages/desktop-client/src/components/manager/ConfigServer.tsx b/packages/desktop-client/src/components/manager/ConfigServer.tsx index 7f2b0c152a..2e72d1335c 100644 --- a/packages/desktop-client/src/components/manager/ConfigServer.tsx +++ b/packages/desktop-client/src/components/manager/ConfigServer.tsx @@ -56,6 +56,10 @@ export function ElectronServerConfig({ const [startingSyncServer, setStartingSyncServer] = useState(false); const onConfigureSyncServer = async () => { + if (startingSyncServer) { + return; // Prevent multiple clicks + } + if ( isNaN(electronServerPort) || electronServerPort <= 0 || @@ -221,23 +225,23 @@ export function ElectronServerConfig({ >