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:
parent
f392e86b81
commit
92c720f61d
2 changed files with 3 additions and 3 deletions
|
@ -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"}/>
|
||||
|
|
|
@ -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 (
|
Loading…
Reference in a new issue