mirror of
https://github.com/Steffo99/todocolors.git
synced 2024-11-22 00:04:18 +00:00
Move API-related hooks to (api)
This commit is contained in:
parent
409110a8fa
commit
8745affeb5
4 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
import {useHttpBaseURL} from "@/app/[lang]/useHttpBaseURL"
|
||||
import {useHttpBaseURL} from "@/app/(api)/useHttpBaseURL"
|
||||
|
||||
|
||||
/**
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
import {BoardAction} from "@/app/[lang]/board/[board]/Types"
|
||||
import {useBoardState} from "@/app/[lang]/board/[board]/useBoardState"
|
||||
import {useWsBaseURL} from "@/app/[lang]/useWsBaseURL"
|
||||
import {useWsBaseURL} from "@/app/(api)/useWsBaseURL"
|
||||
import {useCallback, useMemo} from "react"
|
||||
import {useWs, WebSocketHandlerParams} from "@/app/[lang]/useWs"
|
||||
import {useWs, WebSocketHandlerParams} from "@/app/(api)/useWs"
|
||||
|
||||
|
||||
export function useBoardWs(name: string) {
|
||||
|
|
Loading…
Reference in a new issue