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

Rename TaskGroupColumn to BoardColumn

This commit is contained in:
Steffo 2023-08-04 00:40:17 +02:00
parent a280dbb6fd
commit b11aed5ba9
Signed by: steffo
GPG key ID: 2A24051445686895
3 changed files with 5 additions and 5 deletions

View file

@ -3,9 +3,9 @@ import {TaskGroup} from "@/app/board/[board]/useBoardTaskArranger"
import style from "./TaskGroupColumn.module.css" import style from "./TaskGroupColumn.module.css"
export function TaskGroupColumn({taskGroup}: {taskGroup: TaskGroup}) { export function BoardColumn({taskGroup}: {taskGroup: TaskGroup}) {
return ( return (
<div className={style.taskGroupColumn}> <div className={style.boardColumn}>
<h3> <h3>
{taskGroup.name} {taskGroup.name}
</h3> </h3>

View file

@ -1,4 +1,4 @@
import {TaskGroupColumn} from "@/app/board/[board]/TaskGroupColumn" import {BoardColumn} from "@/app/board/[board]/BoardColumn"
import {useManagedBoard} from "@/app/board/[board]/BoardManager" import {useManagedBoard} from "@/app/board/[board]/BoardManager"
import style from "./BoardMainTaskGroups.module.css" import style from "./BoardMainTaskGroups.module.css"
@ -8,7 +8,7 @@ export function BoardMainTaskGroups() {
return ( return (
<main className={style.boardMainTaskGroups}> <main className={style.boardMainTaskGroups}>
{taskGroups.map((tg) => <TaskGroupColumn taskGroup={tg}/>)} {taskGroups.map((tg) => <BoardColumn taskGroup={tg}/>)}
</main> </main>
) )
} }

View file

@ -1,4 +1,4 @@
.taskGroupColumn { .boardColumn {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 8px; gap: 8px;