Skip to content

Commit f6269e9

Browse files
committed
fix(storybook-host): Fix storybook source linting errors
1 parent c3e94a1 commit f6269e9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

libs/storybook-host/.storybook/decorators/SnackbarDecorator.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ComponentType, FC } from 'react';
1+
import type { ComponentType } from 'react';
22
import { SnackbarProvider } from 'notistack';
33

44
export const SnackbarDecorator = (Story: ComponentType, context: object) => {

libs/storybook-host/src/lib/long-press/LongPressButton.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import type { StoryObj, StoryFn, Meta } from '@storybook/react';
1+
import type { Meta, StoryObj } from '@storybook/react';
22
import { LongPressButton } from './LongPressButton';
33
import { LongPressEventType } from 'use-long-press';
44

55
const meta: Meta<typeof LongPressButton> = { component: LongPressButton };
66
export default meta;
77

88
type Story = StoryObj<typeof LongPressButton>;
9-
type StoryComponent = StoryFn<typeof LongPressButton>;
9+
// type StoryComponent = StoryFn<typeof LongPressButton>;
1010

1111
export const Default: Story = {
1212
argTypes: {

libs/storybook-host/src/lib/long-press/LongPressButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { FC, ReactNode, useRef } from 'react';
2-
import { LongPressEventType, LongPressOptions, LongPressReactEvents, useLongPress } from 'use-long-press';
1+
import { FC, useRef } from 'react';
2+
import { LongPressEventType, LongPressReactEvents, useLongPress } from 'use-long-press';
33
import { Button } from '@mui/material';
44
import { useSnackbar } from 'notistack';
55

0 commit comments

Comments
 (0)