mirror of https://github.com/usememos/memos.git
Update web/src/components/ConfirmDialog/index.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Nic Luckie <nicolasluckie@users.noreply.github.com>
This commit is contained in:
parent
559850523b
commit
a7c26235c9
|
|
@ -46,7 +46,7 @@ export default function ConfirmDialog({
|
||||||
onOpenChange(false);
|
onOpenChange(false);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// Intentionally swallow errors so user can retry; surface via caller's toast/logging
|
// Intentionally swallow errors so user can retry; surface via caller's toast/logging
|
||||||
console.error("ConfirmDialog error:", e);
|
console.error("ConfirmDialog error for action:", title, e);
|
||||||
} finally {
|
} finally {
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue