From a3dfdb17e85d06c42cb3dbbd5fed03f6851ce02b Mon Sep 17 00:00:00 2001 From: Batmanisko Date: Thu, 31 Jul 2025 23:37:21 +0200 Subject: [PATCH] fix async.... --- client/src/components/modals/SettingsModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/modals/SettingsModal.tsx b/client/src/components/modals/SettingsModal.tsx index 510be3e..170a1c9 100644 --- a/client/src/components/modals/SettingsModal.tsx +++ b/client/src/components/modals/SettingsModal.tsx @@ -21,7 +21,7 @@ export default function SettingsModal({ isOpen, onClose, onSave }: Readonly(null); - const handleRefresh = () => { + const handleRefresh = async () => { const password = refreshPassRef.current?.value; const type = refreshTypeRef.current?.value; if (!password || !type) {