From 92c720f61db0d53c3aab118ebb91a1d42d6d8bbd Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 3 Aug 2023 17:09:03 +0200 Subject: [PATCH] Rename `BoardColumns` to `BoardMainTaskGroups` --- todoblue/src/app/board/[board]/BoardBody.tsx | 4 ++-- .../[board]/{BoardColumns.tsx => BoardMainTaskGroups.tsx} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename todoblue/src/app/board/[board]/{BoardColumns.tsx => BoardMainTaskGroups.tsx} (88%) diff --git a/todoblue/src/app/board/[board]/BoardBody.tsx b/todoblue/src/app/board/[board]/BoardBody.tsx index 9f0a487..f736aef 100644 --- a/todoblue/src/app/board/[board]/BoardBody.tsx +++ b/todoblue/src/app/board/[board]/BoardBody.tsx @@ -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 case WebSocket.OPEN: - return + return case WebSocket.CLOSING: case WebSocket.CLOSED: return diff --git a/todoblue/src/app/board/[board]/BoardColumns.tsx b/todoblue/src/app/board/[board]/BoardMainTaskGroups.tsx similarity index 88% rename from todoblue/src/app/board/[board]/BoardColumns.tsx rename to todoblue/src/app/board/[board]/BoardMainTaskGroups.tsx index 4ba7bf7..db9ac16 100644 --- a/todoblue/src/app/board/[board]/BoardColumns.tsx +++ b/todoblue/src/app/board/[board]/BoardMainTaskGroups.tsx @@ -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 (