Refactor: remove cache before saving shortcuts
This commit is contained in:
parent
93ba523dee
commit
9d73489ea9
1 changed files with 2 additions and 0 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue