fix: fix storybook build script not found by Chromatic (#5235)

This commit is contained in:
Thaïs
2024-05-02 16:15:36 +02:00
committed by GitHub
parent f802964de4
commit 5128ea3ffb
12 changed files with 147 additions and 80 deletions

View File

@ -43,7 +43,7 @@ export const RightDrawerEmailThread = () => {
useRegisterClickOutsideListenerCallback({
callbackId:
'EmailThreadClickOutsideCallBack-' + thread.id ?? 'no-thread-id',
'EmailThreadClickOutsideCallBack-' + (thread.id ?? 'no-thread-id'),
callbackFunction: useRecoilCallback(
({ set }) =>
() => {

View File

@ -97,9 +97,7 @@ export const usePrepareFindManyActivitiesQuery = () => {
};
const filteredActivities = [
...activities.filter(
(activity) => !shouldActivityBeExcluded?.(activity) ?? true,
),
...activities.filter((activity) => !shouldActivityBeExcluded?.(activity)),
].sort((a, b) => {
return a.createdAt > b.createdAt ? -1 : 1;
});