Skip to content

Commit

Permalink
fix: extra imports
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyhw committed Mar 28, 2024
1 parent b781f99 commit 901a754
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/react-native/scripts/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ function generate({ configPath, absolute = false, useJs = false }) {

const fileContent = `
/* do not change this file, it is auto generated by storybook. */
import { start, prepareStories, getProjectAnnotations, updateView } from '@storybook/react-native';
import { start, updateView } from '@storybook/react-native';
${registerAddons}
const normalizedStories = [${normalizedStories.join(',')}];
Expand All @@ -80,7 +80,7 @@ function generate({ configPath, absolute = false, useJs = false }) {
const annotations = ${annotations};
global.STORIES = normalizedStories;
// @ts-ignore
module?.hot?.accept?.();
Expand Down

0 comments on commit 901a754

Please sign in to comment.