diff --git a/gui/src/util/compactConversation.ts b/gui/src/util/compactConversation.ts index 67ac3813d..cbe57a619 100644 --- a/gui/src/util/compactConversation.ts +++ b/gui/src/util/compactConversation.ts @@ -48,9 +48,11 @@ export const useDeleteCompaction = () => { return (index: number) => { // Update local state and save to persistence dispatch(deleteCompaction(index)); - dispatch(saveCurrentSession({ - openNewSession: false, - generateTitle: false, - })); + dispatch( + saveCurrentSession({ + openNewSession: false, + generateTitle: false, + }), + ); }; };