mirror of
https://github.com/Steffo99/todocolors.git
synced 2024-11-23 00:34:19 +00:00
Rename TaskGroupColumn
to BoardColumn
This commit is contained in:
parent
a280dbb6fd
commit
b11aed5ba9
3 changed files with 5 additions and 5 deletions
|
@ -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>
|
|
@ -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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.taskGroupColumn {
|
.boardColumn {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
|
|
Loading…
Reference in a new issue