fix: fixed some imports

pull/1/head
Antonio De Lucreziis 2 years ago
parent 2dfe47b16e
commit 42e9a05818

@ -1,4 +1,5 @@
import { prependBaseUrl } from '../api' import { prependBaseUrl } from '../../shared/utils'
import { Markdown } from './Markdown' import { Markdown } from './Markdown'
type Props = { type Props = {

@ -1,7 +1,8 @@
import { useState } from 'preact/hooks' import { useState } from 'preact/hooks'
import { JSX } from 'preact/jsx-runtime' import { JSX } from 'preact/jsx-runtime'
import { ProblemId, Solution as SolutionModel, SolutionId, SolutionStatus, UserId } from '../../shared/model' import { ProblemId, Solution as SolutionModel, SolutionId, SolutionStatus, UserId } from '../../shared/model'
import { prependBaseUrl, server } from '../api' import { prependBaseUrl } from '../../shared/utils'
import { server } from '../api'
import { useCurrentUser } from '../hooks/useCurrentUser' import { useCurrentUser } from '../hooks/useCurrentUser'
import { Markdown } from './Markdown' import { Markdown } from './Markdown'

@ -1,7 +1,7 @@
import { useContext, useState } from 'preact/hooks' import { useContext, useState } from 'preact/hooks'
import { SolutionStat } from '../../shared/model' import { SolutionStat } from '../../shared/model'
import { sortByNumericKey, sortByStringKey } from '../../shared/utils' import { sortByNumericKey, sortByStringKey } from '../../shared/utils'
import { prependBaseUrl } from '../api' import { prependBaseUrl } from '../../shared/utils'
import { Header } from '../components/Header' import { Header } from '../components/Header'
import { useResource, MetadataContext } from '../hooks' import { useResource, MetadataContext } from '../hooks'

@ -1,6 +1,6 @@
import { isAdministrator, Solution as SolutionModel, SolutionStat } from '../../shared/model' import { isAdministrator, Solution as SolutionModel, SolutionStat } from '../../shared/model'
import { sortByStringKey } from '../../shared/utils' import { sortByStringKey } from '../../shared/utils'
import { prependBaseUrl } from '../api' import { prependBaseUrl } from '../../shared/utils'
import { Header } from '../components/Header' import { Header } from '../components/Header'
import { Solution } from '../components/Solution' import { Solution } from '../components/Solution'
import { useResource } from '../hooks' import { useResource } from '../hooks'

Loading…
Cancel
Save