Skip to content

Commit

Permalink
chore: fix story
Browse files Browse the repository at this point in the history
  • Loading branch information
shleewhite committed Feb 28, 2023
1 parent d6ac36b commit 2bd550c
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -71,6 +71,10 @@ const DialogExample: React.FC<React.PropsWithChildren<{minimized?: boolean}>> =
export const DefaultForVRT: StoryFn = () => <DialogExample />;
export const DefaultMinimizedForVRT: StoryFn = () => <DialogExample minimized />;

/*
* Run chromatic on this story even though all the dialogs are on top of
* each other to verify that they are positioned correctly on the screen
*/
export const FloatingButton: StoryFn = () => {
const nameID = useUID();
const emailID = useUID();
Expand Down Expand Up @@ -119,10 +123,6 @@ export const FloatingButton: StoryFn = () => {
);
};

FloatingButton.parameters = {
chromatic: {disableSnapshot: true},
};

export const StateHookExample: StoryFn = () => {
const dialog = useMinimizableDialogState({});

Expand Down

0 comments on commit 2bd550c

Please sign in to comment.