Skip to content

Commit

Permalink
updated some file locations
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Mangan committed Dec 20, 2023
1 parent 5f4eb87 commit d0c9af4
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Layout } from './sections/layout/Layout'
import { Route } from './sections/Route.enum'
import { DatasetFactory } from './sections/dataset/DatasetFactory'
import { PageNotFound } from './sections/page-not-found/PageNotFound'
import CreateDatasetContainer from './views/create-dataset/CreateDatasetContainer'
import CreateDatasetContainer from './sections/create-dataset/CreateDatasetContext'

const router = createBrowserRouter(
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { ChangeEvent, FormEvent } from 'react'
import { Alert, Button, Col, Form, Row } from '@iqss/dataverse-design-system'
import { useTranslation } from 'react-i18next'
import styles from '/src/sections/dataset/Dataset.module.scss'
import { SeparationLine } from '../../components/ui/SeparationLine/SeparationLine'
import { RequiredFieldText } from '../../components/Forms/RequiredFieldText/RequiredFieldText'
import { SeparationLine } from '../../components/layout/SeparationLine/SeparationLine'
import { RequiredFieldText } from '../../components/forms/RequiredFieldText/RequiredFieldText'

Check failure on line 8 in src/sections/create-dataset/CreateDataset.tsx

View workflow job for this annotation

GitHub Actions / lint

Cannot find module '../../components/forms/RequiredFieldText/RequiredFieldText' or its corresponding type declarations.

/*
* TODO:
Expand All @@ -27,7 +27,7 @@ export default function CreateDatasetFormPresenter({
submitComplete
}: CreateDatasetFormPresenterProps) {
const { t } = useTranslation('createDataset')
// TODO: Probably replace this with a FormSkeleton or remove entirely
// TODO: Replace this with a FormSkeleton or remove entirely
// if (loading) {
// return <DatasetSkeleton />
// }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// usecases/FormUseCase.js

'use strict'

interface CreateDatasetFormData {
Expand Down
2 changes: 1 addition & 1 deletion src/sections/dataset/Dataset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { useEffect } from 'react'
import { DatasetAlerts } from './dataset-alerts/DatasetAlerts'
import { useNotImplementedModal } from '../not-implemented/NotImplementedModalContext'
import { NotImplementedModal } from '../not-implemented/NotImplementedModal'
import { SeparationLine } from '../../components/ui/SeparationLine/SeparationLine'
import { SeparationLine } from '../../components/layout/SeparationLine/SeparationLine'

interface DatasetProps {
fileRepository: FileRepository
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import CreateDatasetContainer from '../../../../src/views/create-dataset/CreateDatasetContainer'
import CreateDatasetContainer from '../../../../src/sections/create-dataset/CreateDatasetContext'

describe('Form component', () => {
beforeEach(() => {
Expand Down

0 comments on commit d0c9af4

Please sign in to comment.