Skip to content

Commit

Permalink
remove redundant import
Browse files Browse the repository at this point in the history
  • Loading branch information
larsrickert committed Jan 15, 2025
1 parent ec6fd39 commit 1a656bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/addons/docs/src/manager.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState } from 'react';
import React from 'react';

import { AddonPanel, type SyntaxHighlighterFormatTypes } from 'storybook/internal/components';
import { ADDON_ID, PANEL_ID, PARAM_KEY, SNIPPET_RENDERED } from 'storybook/internal/docs-tools';
Expand Down Expand Up @@ -32,7 +32,7 @@ addons.register(ADDON_ID, (api) => {
source: { code: '' } as SourceParameters,
});

const [codeSnippet, setSourceCode] = useState<{
const [codeSnippet, setSourceCode] = React.useState<{
source?: string;
format?: SyntaxHighlighterFormatTypes;
}>({});
Expand Down

0 comments on commit 1a656bc

Please sign in to comment.