mirror of
https://github.com/ourongxing/newsnow.git
synced 2025-01-19 11:19:14 +08:00
fix(ui): navbar fresh in mobile
This commit is contained in:
parent
6a30dd01c6
commit
5d622a9bf4
@ -14,14 +14,12 @@ export function Column({ id }: { id: ColumnID }) {
|
|||||||
}, [id, setCurrentColumnID])
|
}, [id, setCurrentColumnID])
|
||||||
|
|
||||||
useTitle(`NewsNow | ${metadata[id].name}`)
|
useTitle(`NewsNow | ${metadata[id].name}`)
|
||||||
if (id === currentColumnID) {
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="flex justify-center md:hidden mb-6">
|
<div className="flex justify-center md:hidden mb-6">
|
||||||
<NavBar />
|
<NavBar />
|
||||||
</div>
|
</div>
|
||||||
<Dnd />
|
{id === currentColumnID && <Dnd />}
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user