diff --git a/web/app/components/workflow/store/workflow/workflow-slice.ts b/web/app/components/workflow/store/workflow/workflow-slice.ts index 30ec3cef74..e1f2fd91c5 100644 --- a/web/app/components/workflow/store/workflow/workflow-slice.ts +++ b/web/app/components/workflow/store/workflow/workflow-slice.ts @@ -41,7 +41,7 @@ export const createWorkflowSlice: StateCreator = set => ({ const storedElements = localStorage.getItem('clipboard_elements') return storedElements ? JSON.parse(storedElements) : [] })(), - setClipboardElements: clipboardElements => { + setClipboardElements: (clipboardElements) => { localStorage.setItem('clipboard_elements', JSON.stringify(clipboardElements)) }, selection: null,