fix: fixed some imports
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { prependBaseUrl } from '../api'
|
||||
import { prependBaseUrl } from '../../shared/utils'
|
||||
|
||||
import { Markdown } from './Markdown'
|
||||
|
||||
type Props = {
|
||||
|
||||
@@ -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,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,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'
|
||||
|
||||
Reference in New Issue
Block a user