fix async....

This commit is contained in:
Batmanisko 2025-07-31 23:37:21 +02:00
parent 124fdce69d
commit a3dfdb17e8
No known key found for this signature in database

View File

@ -21,7 +21,7 @@ export default function SettingsModal({ isOpen, onClose, onSave }: Readonly<Prop
const [refreshLoading, setRefreshLoading] = useState(false);
const [refreshMessage, setRefreshMessage] = useState<{ type: 'success' | 'error', text: string } | null>(null);
const handleRefresh = () => {
const handleRefresh = async () => {
const password = refreshPassRef.current?.value;
const type = refreshTypeRef.current?.value;
if (!password || !type) {