1
Fork 0
mirror of https://github.com/Steffo99/todocolors.git synced 2024-11-22 08:14:18 +00:00

Rename BoardColumns to BoardMainTaskGroups

This commit is contained in:
Steffo 2023-08-03 17:09:03 +02:00
parent f392e86b81
commit 92c720f61d
Signed by: steffo
GPG key ID: 2A24051445686895
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
import {BoardColumns} from "@/app/board/[board]/BoardColumns"
import {BoardMainTaskGroups} from "@/app/board/[board]/BoardMainTaskGroups"
import {BoardError} from "@/app/board/[board]/BoardError"
import {BoardMainLoading} from "@/app/board/[board]/BoardMainLoading"
import {useBoardContext} from "@/app/board/[board]/useBoardContext"
@ -13,7 +13,7 @@ export function BoardBody() {
case WebSocket.CONNECTING:
return <BoardMainLoading text={"Connessione..."}/>
case WebSocket.OPEN:
return <BoardColumns/>
return <BoardMainTaskGroups/>
case WebSocket.CLOSING:
case WebSocket.CLOSED:
return <BoardError text={"Errore"}/>

View file

@ -2,7 +2,7 @@ import {TaskGroupColumn} from "@/app/board/[board]/TaskGroupColumn"
import {useBoardContext} from "@/app/board/[board]/useBoardContext"
export function BoardColumns() {
export function BoardMainTaskGroups() {
const {taskGroups} = useBoardContext()
return (