diff --git a/webview/src/shared/components/codeSlider/CodeSlider.tsx b/webview/src/setup/components/experiments/CodeSlider.tsx similarity index 93% rename from webview/src/shared/components/codeSlider/CodeSlider.tsx rename to webview/src/setup/components/experiments/CodeSlider.tsx index 61276f8859..74abeaffb9 100644 --- a/webview/src/shared/components/codeSlider/CodeSlider.tsx +++ b/webview/src/setup/components/experiments/CodeSlider.tsx @@ -5,7 +5,7 @@ import { } from '@vscode/webview-ui-toolkit/react' import React from 'react' import styles from './styles.module.scss' -import { CodeBlock, CodeBlockProps } from '../codeBlock/CodeBlock' +import { CodeBlock, CodeBlockProps } from '../shared/CodeBlock' interface CodeBlockWithTitle extends CodeBlockProps { title: string diff --git a/webview/src/setup/components/experiments/DvcLiveExamples.tsx b/webview/src/setup/components/experiments/DvcLiveExamples.tsx index 5505080922..9be9aabd85 100644 --- a/webview/src/setup/components/experiments/DvcLiveExamples.tsx +++ b/webview/src/setup/components/experiments/DvcLiveExamples.tsx @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/no-unsafe-call */ import React from 'react' -import { CodeSlider } from '../../../shared/components/codeSlider/CodeSlider' +import { CodeSlider } from './CodeSlider' import pyTorch from '../../snippets/pyTorch.py' import huggingFace from '../../snippets/huggingFace.py' import keras from '../../snippets/keras.py' diff --git a/webview/src/setup/components/experiments/NoData.tsx b/webview/src/setup/components/experiments/NoData.tsx index 08e3dedb68..0e4b1737a9 100644 --- a/webview/src/setup/components/experiments/NoData.tsx +++ b/webview/src/setup/components/experiments/NoData.tsx @@ -1,6 +1,6 @@ import React from 'react' import { DvcLiveExamples } from './DvcLiveExamples' -import { CodeBlock } from '../../../shared/components/codeBlock/CodeBlock' +import { CodeBlock } from '../shared/CodeBlock' import { EmptyState } from '../../../shared/components/emptyState/EmptyState' export const NoData: React.FC = () => { diff --git a/webview/src/shared/components/codeSlider/styles.module.scss b/webview/src/setup/components/experiments/styles.module.scss similarity index 73% rename from webview/src/shared/components/codeSlider/styles.module.scss rename to webview/src/setup/components/experiments/styles.module.scss index 1d8fb31099..0688812ac4 100644 --- a/webview/src/shared/components/codeSlider/styles.module.scss +++ b/webview/src/setup/components/experiments/styles.module.scss @@ -1,4 +1,4 @@ -@import '../../variables'; +@import '../../../shared/variables'; .codeSlider { margin-top: 40px; diff --git a/webview/src/setup/components/remotes/CloudVersioning.tsx b/webview/src/setup/components/remotes/CloudVersioning.tsx index fcfafaea06..da5be73ab3 100644 --- a/webview/src/setup/components/remotes/CloudVersioning.tsx +++ b/webview/src/setup/components/remotes/CloudVersioning.tsx @@ -1,7 +1,7 @@ import React, { PropsWithChildren } from 'react' import { CloudVersioningLink } from './CloudVersioningLink' import { InfoText } from './InfoText' -import { CodeBlock } from '../../../shared/components/codeBlock/CodeBlock' +import { CodeBlock } from '../shared/CodeBlock' export const CloudVersioning: React.FC = ({ children }) => ( <> diff --git a/webview/src/shared/components/codeBlock/CodeBlock.tsx b/webview/src/setup/components/shared/CodeBlock.tsx similarity index 100% rename from webview/src/shared/components/codeBlock/CodeBlock.tsx rename to webview/src/setup/components/shared/CodeBlock.tsx diff --git a/webview/src/shared/components/codeBlock/styles.module.scss b/webview/src/setup/components/shared/styles.module.scss similarity index 100% rename from webview/src/shared/components/codeBlock/styles.module.scss rename to webview/src/setup/components/shared/styles.module.scss