rm unused createApiUrl
This commit is contained in:
1 parent
6702eb22de
commit
a732ec0640
1 file changed
-4
@@ -22,10 +22,6 @@ export function wrapInitialProps(fn: (ctx: NextPageContext) => void) {
|
||||
}
|
||||
}
|
||||
|
||||
export function createApiUrl(path: string) {
|
||||
return `https://api.tmshv.com/hudozka${path}`
|
||||
}
|
||||
|
||||
export type FactoryFunction<I, O> =
|
||||
| ((response: I) => O)
|
||||
| ((response: I) => Promise<O>)
|
||||
|
||||
Reference in new issue
Block a user