1
Fork 0
mirror of https://github.com/Steffo99/todocolors.git synced 2024-11-22 16:24:19 +00:00

Move API-related hooks to (api)

This commit is contained in:
Steffo 2023-08-08 18:04:02 +02:00
parent 409110a8fa
commit 8745affeb5
Signed by: steffo
GPG key ID: 2A24051445686895
4 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
import {useHttpBaseURL} from "@/app/[lang]/useHttpBaseURL" import {useHttpBaseURL} from "@/app/(api)/useHttpBaseURL"
/** /**

View file

@ -2,9 +2,9 @@
import {BoardAction} from "@/app/[lang]/board/[board]/Types" import {BoardAction} from "@/app/[lang]/board/[board]/Types"
import {useBoardState} from "@/app/[lang]/board/[board]/useBoardState" 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 {useCallback, useMemo} from "react"
import {useWs, WebSocketHandlerParams} from "@/app/[lang]/useWs" import {useWs, WebSocketHandlerParams} from "@/app/(api)/useWs"
export function useBoardWs(name: string) { export function useBoardWs(name: string) {