diff --git a/src/components/column/index.tsx b/src/components/column/index.tsx index 4525bbd..dd57aa0 100644 --- a/src/components/column/index.tsx +++ b/src/components/column/index.tsx @@ -14,14 +14,12 @@ export function Column({ id }: { id: ColumnID }) { }, [id, setCurrentColumnID]) useTitle(`NewsNow | ${metadata[id].name}`) - if (id === currentColumnID) { - return ( - <> -
- -
- - - ) - } + return ( + <> +
+ +
+ {id === currentColumnID && } + + ) }