Skip to content

Commit

Permalink
Move CodeSlider into setup folder
Browse files Browse the repository at this point in the history
  • Loading branch information
mattseddon committed May 30, 2023
1 parent f66cd78 commit 36bd10b
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion webview/src/setup/components/experiments/NoData.tsx
Original file line number Diff line number Diff line change
@@ -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 = () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '../../variables';
@import '../../../shared/variables';

.codeSlider {
margin-top: 40px;
Expand Down
2 changes: 1 addition & 1 deletion webview/src/setup/components/remotes/CloudVersioning.tsx
Original file line number Diff line number Diff line change
@@ -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<PropsWithChildren> = ({ children }) => (
<>
Expand Down

0 comments on commit 36bd10b

Please sign in to comment.