Skip to content

Commit

Permalink
Move files to internal/components/Errors/
Browse files Browse the repository at this point in the history
  • Loading branch information
devjiwonchoi committed Dec 19, 2024
1 parent cbb815c commit f1b0bd2
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Meta, StoryObj } from '@storybook/react'
import { ErrorIndicator } from './ErrorIndicator'
import { withShadowPortal } from '../../storybook/with-shadow-portal'
import { withShadowPortal } from '../../../storybook/with-shadow-portal'

const meta: Meta<typeof ErrorIndicator> = {
title: 'ErrorIndicator',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { ReadyRuntimeError } from '../../helpers/get-error-by-type'
import { Toast } from '../Toast'
import { CloseIcon } from '../../icons/CloseIcon'
import type { ReadyRuntimeError } from '../../../helpers/get-error-by-type'
import { Toast } from '../../Toast'
import { CloseIcon } from '../../../icons/CloseIcon'

type ErrorIndicatorProps = {
readyErrors: ReadyRuntimeError[]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Meta, StoryObj } from '@storybook/react'
import { ErrorOverlayLayout } from './ErrorOverlayLayout'
import { withShadowPortal } from '../../storybook/with-shadow-portal'
import { withShadowPortal } from '../../../storybook/with-shadow-portal'

const meta: Meta<typeof ErrorOverlayLayout> = {
title: 'ErrorOverlayLayout',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { VersionInfo } from '../../../../../../../server/dev/parse-version-info'
import { Dialog, DialogHeader, DialogBody, DialogContent } from '../Dialog'
import { Overlay } from '../Overlay'
import { VersionStalenessInfo } from '../VersionStalenessInfo'
import type { VersionInfo } from '../../../../../../../../server/dev/parse-version-info'
import { Dialog, DialogHeader, DialogBody, DialogContent } from '../../Dialog'
import { Overlay } from '../../Overlay'
import { VersionStalenessInfo } from '../../VersionStalenessInfo'

type ErrorOverlayLayoutProps = {
errorType:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react'
import type { VersionInfo } from '../../../../../../server/dev/parse-version-info'
import { Terminal } from '../components/Terminal'
import { noop as css } from '../helpers/noop-template'
import { ErrorOverlayLayout } from '../components/ErrorOverlayLayout/ErrorOverlayLayout'
import { ErrorOverlayLayout } from '../components/Errors/ErrorOverlayLayout/ErrorOverlayLayout'

export type BuildErrorProps = { message: string; versionInfo?: VersionInfo }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import {
isUnhandledConsoleOrRejection,
} from '../helpers/console-error'
import { extractNextErrorCode } from '../../../../../../lib/error-telemetry-utils'
import { ErrorIndicator } from '../components/ErrorIndicator/ErrorIndicator'
import { ErrorIndicator } from '../components/Errors/ErrorIndicator/ErrorIndicator'

export type SupportedErrorEvent = {
id: number
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { VersionInfo } from '../../../../../../server/dev/parse-version-info'
import { useCallback } from 'react'
import { HotlinkedText } from '../components/hot-linked-text'
import { ErrorOverlayLayout } from '../components/ErrorOverlayLayout/ErrorOverlayLayout'
import { ErrorOverlayLayout } from '../components/Errors/ErrorOverlayLayout/ErrorOverlayLayout'

type RootLayoutMissingTagsErrorProps = {
missingTags: string[]
Expand Down

0 comments on commit f1b0bd2

Please sign in to comment.