Fix chromatic tests + re-enable (#3414)
* Fix chromatic tests + re-enable * Try to run command manually * Fix * Fix * Fix * Fix * Fix --------- Co-authored-by: Thomas Trompette <thomast@twenty.com> Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -1,19 +0,0 @@
|
||||
import { Meta, StoryObj } from '@storybook/react';
|
||||
|
||||
import { Threads } from '../Threads';
|
||||
|
||||
const meta: Meta<typeof Threads> = {
|
||||
title: 'Modules/Activity/Emails/Threads',
|
||||
component: Threads,
|
||||
args: {
|
||||
entity: {
|
||||
targetObjectNameSingular: 'person',
|
||||
id: '52ba3fd0-c723-4482-8b11-5fc24a587c71',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default meta;
|
||||
type Story = StoryObj<typeof Threads>;
|
||||
|
||||
export const Default: Story = {};
|
||||
@ -83,7 +83,7 @@ export const useFavorites = () => {
|
||||
|
||||
return favorite;
|
||||
})
|
||||
.toSorted((a, b) => a.position - b.position);
|
||||
.sort((a, b) => a.position - b.position);
|
||||
}, [
|
||||
favoriteRelationFieldMetadataItems,
|
||||
favorites,
|
||||
|
||||
Reference in New Issue
Block a user