mirror of https://github.com/usememos/memos.git
Update 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
ea3b6a7c77
commit
8f7fdca17b
|
|
@ -46,9 +46,7 @@ export default function ConfirmDialog({
|
|||
onOpenChange(false);
|
||||
} catch (e) {
|
||||
// Intentionally swallow errors so user can retry; surface via caller's toast/logging
|
||||
// TODO: Replace with a proper error reporting service, e.g., Sentry or custom logger
|
||||
console.error("ConfirmDialog error:", e);
|
||||
// reportError(e);
|
||||
} finally {
|
||||
setLoading(false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue