refactor: added support for base url using a shared function
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import { route } from 'preact-router'
|
||||
import { useState } from 'preact/hooks'
|
||||
import { isAdministrator, Solution as SolutionModel, SolutionId, User as UserModel } from '../../shared/model'
|
||||
import { sortByStringKey } from '../../shared/utils'
|
||||
import { prependBaseUrl, server } from '../api'
|
||||
|
||||
import { server } from '../api'
|
||||
import { prependBaseUrl, sortByStringKey } from '../../shared/utils'
|
||||
|
||||
import { Header } from '../components/Header'
|
||||
import { MarkdownEditor } from '../components/MarkdownEditor'
|
||||
import { Select } from '../components/Select'
|
||||
|
||||
Reference in New Issue
Block a user