diff --git a/src/frontend/src/pages/SettingsPage/pages/ShortcutsPage/EditShortcutButton/index.tsx b/src/frontend/src/pages/SettingsPage/pages/ShortcutsPage/EditShortcutButton/index.tsx index 976df035a..99dd43554 100644 --- a/src/frontend/src/pages/SettingsPage/pages/ShortcutsPage/EditShortcutButton/index.tsx +++ b/src/frontend/src/pages/SettingsPage/pages/ShortcutsPage/EditShortcutButton/index.tsx @@ -86,6 +86,8 @@ export default function EditShortcutButton({ title: `${shortcut[0]} shortcut successfully changed`, }); setKey(null); + localStorage.removeItem("langflow-shortcuts"); + localStorage.removeItem("langflow-UShortcuts"); localStorage.setItem( "langflow-shortcuts", JSON.stringify(newCombination),