From de2b9b4d95857a87ca2092cb054717dfb3da5cc2 Mon Sep 17 00:00:00 2001 From: Jeppe Reinhold Date: Tue, 8 Oct 2024 23:16:17 +0200 Subject: [PATCH] format --- code/lib/blocks/src/blocks/DocsContainer.tsx | 1 - code/lib/blocks/src/components/IFrame.tsx | 1 - code/lib/blocks/src/components/Story.tsx | 1 - 3 files changed, 3 deletions(-) diff --git a/code/lib/blocks/src/blocks/DocsContainer.tsx b/code/lib/blocks/src/blocks/DocsContainer.tsx index eba6fd5f94fb..be6649113e14 100644 --- a/code/lib/blocks/src/blocks/DocsContainer.tsx +++ b/code/lib/blocks/src/blocks/DocsContainer.tsx @@ -5,7 +5,6 @@ import type { ThemeVars } from 'storybook/internal/theming'; import { ThemeProvider, ensure as ensureTheme } from 'storybook/internal/theming'; import type { Renderer } from 'storybook/internal/types'; - import { DocsPageWrapper } from '../components'; import { TableOfContents } from '../components/TableOfContents'; import type { DocsContextProps } from './DocsContext'; diff --git a/code/lib/blocks/src/components/IFrame.tsx b/code/lib/blocks/src/components/IFrame.tsx index 391c80877d13..4f2bd4beedb3 100644 --- a/code/lib/blocks/src/components/IFrame.tsx +++ b/code/lib/blocks/src/components/IFrame.tsx @@ -1,6 +1,5 @@ import React, { Component } from 'react'; - const { window: globalWindow } = globalThis; interface IFrameProps { diff --git a/code/lib/blocks/src/components/Story.tsx b/code/lib/blocks/src/components/Story.tsx index c5390e95ad52..3110b14a0205 100644 --- a/code/lib/blocks/src/components/Story.tsx +++ b/code/lib/blocks/src/components/Story.tsx @@ -6,7 +6,6 @@ import { ErrorFormatter, Loader, getStoryHref } from 'storybook/internal/compone import { styled } from 'storybook/internal/theming'; import type { DocsContextProps, PreparedStory } from 'storybook/internal/types'; - import { IFrame } from './IFrame'; import { ZoomContext } from './ZoomContext';