Skip to content

Commit

Permalink
Issue #671
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaBondar committed Feb 13, 2024
1 parent dfa1349 commit 68cf094
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/chat/src/store/prompts/prompts.epics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,7 @@ const deleteFolderEpic: AppEpic = (action$, state$) =>
switchMap(({ folderId, promptsToRemove, folders }) => {
const childFolders = new Set([
folderId,
...promptsToRemove.flatMap((prompt) =>
getAllPathsFromPath(prompt.folderId),
),
...promptsToRemove.map((prompt) => prompt.folderId),
]);
const actions: Observable<AnyAction>[] = [];
actions.push(
Expand Down

0 comments on commit 68cf094

Please sign in to comment.