mirror of
https://github.com/gabehf/Koito.git
synced 2026-04-22 20:11:50 -07:00
add header, adjust ui
This commit is contained in:
parent
442221327d
commit
9b7e68487d
4 changed files with 9 additions and 4 deletions
|
|
@ -12,5 +12,10 @@ export default function RewindPage() {
|
|||
useEffect(() => {
|
||||
getRewindStats({ year: 2025 }).then((r) => setStats(r));
|
||||
}, []);
|
||||
return <>{stats !== undefined && <Rewind stats={stats} />}</>;
|
||||
return (
|
||||
<div className="flex flex-col items-start">
|
||||
<h2 className="mt-12">Your 2025 Rewind</h2>
|
||||
{stats !== undefined && <Rewind stats={stats} />}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue