fix: fixed some imports

This commit is contained in:
2023-01-11 12:37:46 +01:00
parent 2dfe47b16e
commit 42e9a05818
4 changed files with 6 additions and 4 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
import { prependBaseUrl } from '../api'
import { prependBaseUrl } from '../../shared/utils'
import { Markdown } from './Markdown'
type Props = {
+2 -1
View File
@@ -1,7 +1,8 @@
import { useState } from 'preact/hooks'
import { JSX } from 'preact/jsx-runtime'
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 { Markdown } from './Markdown'
+1 -1
View File
@@ -1,7 +1,7 @@
import { useContext, useState } from 'preact/hooks'
import { SolutionStat } from '../../shared/model'
import { sortByNumericKey, sortByStringKey } from '../../shared/utils'
import { prependBaseUrl } from '../api'
import { prependBaseUrl } from '../../shared/utils'
import { Header } from '../components/Header'
import { useResource, MetadataContext } from '../hooks'
+1 -1
View File
@@ -1,6 +1,6 @@
import { isAdministrator, Solution as SolutionModel, SolutionStat } from '../../shared/model'
import { sortByStringKey } from '../../shared/utils'
import { prependBaseUrl } from '../api'
import { prependBaseUrl } from '../../shared/utils'
import { Header } from '../components/Header'
import { Solution } from '../components/Solution'
import { useResource } from '../hooks'