diff --git a/frontend/src/components/SectionsManager.tsx b/frontend/src/components/SectionsManager.tsx index 50bc3569..24276345 100644 --- a/frontend/src/components/SectionsManager.tsx +++ b/frontend/src/components/SectionsManager.tsx @@ -79,7 +79,7 @@ const SectionsManager: React.FC = ({ }; const deleteSection = async (id: number) => { - if (!confirm('Delete this section? Favorites in this section will be moved to Uncategorized.')) { + if (!window.confirm('Delete this section? Favorites in this section will be moved to Uncategorized.')) { return; }