- Persist last visited path via Zustand persist, restore on login/root - Sidebar: exact match for active state (issue detail no longer highlights Issues) - Sidebar header: increase vertical padding - Inbox unread count: simplified to text-xs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
21 lines
539 B
TypeScript
21 lines
539 B
TypeScript
"use client";
|
|
|
|
import { useEffect } from "react";
|
|
import { useRouter } from "next/navigation";
|
|
import { useNavigationStore } from "@/features/navigation";
|
|
import { MulticaIcon } from "@/components/multica-icon";
|
|
|
|
export default function Home() {
|
|
const router = useRouter();
|
|
|
|
useEffect(() => {
|
|
const lastPath = useNavigationStore.getState().lastPath;
|
|
router.replace(lastPath);
|
|
}, [router]);
|
|
|
|
return (
|
|
<div className="flex h-screen items-center justify-center">
|
|
<MulticaIcon className="size-6" />
|
|
</div>
|
|
);
|
|
}
|