From a79ab034636fcc27d1671026beb492ffc68fd1df Mon Sep 17 00:00:00 2001 From: Chris Raible Date: Tue, 27 Aug 2024 17:58:42 -0700 Subject: [PATCH] Fixed failing type check in admin-x-design-system story (#20838) no issue - The type checks for `admin-x-design-system` were failing for me locally for a Storybook story. It looks like we changed the `PopoverPosition` type to use 'start'/'end' rather than 'left'/'right', but this story was still using 'left'. This was causing `yarn test` to fail in the `admin-x-design-system` app. - This commit updates the story to use 'start' instead of 'left', which allows the type checks to pass. --- apps/admin-x-design-system/src/global/SortMenu.stories.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/admin-x-design-system/src/global/SortMenu.stories.tsx b/apps/admin-x-design-system/src/global/SortMenu.stories.tsx index b4f5a6cae2..296373b05c 100644 --- a/apps/admin-x-design-system/src/global/SortMenu.stories.tsx +++ b/apps/admin-x-design-system/src/global/SortMenu.stories.tsx @@ -22,7 +22,7 @@ export const Default: Story = { items: items, onSortChange: () => {}, onDirectionChange: () => {}, - position: 'left' + position: 'start' }, decorators: [ ThisStory => (