Skip to content

Commit

Permalink
fix files collapsed section state memoizing
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Kezik committed Dec 20, 2024
1 parent 2ff2398 commit a11f973
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/chat/src/store/ui/ui.epics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,9 @@ const setCollapsedSectionsEpic: AppEpic = (action$) =>
}

if (payload.featureType === FeatureType.Prompt) {
DataService.setPromptCollapsedSections(payload.collapsedSections);
return DataService.setPromptCollapsedSections(
payload.collapsedSections,
);
}

return DataService.setFileCollapsedSections(payload.collapsedSections);
Expand Down

0 comments on commit a11f973

Please sign in to comment.