Changed /home to /chat

This commit is contained in:
2025-10-04 22:16:32 +02:00
parent 9aa795ae49
commit 0655b78150
5 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ export default function AppSidebar({
<div className="h-screen flex border-r">
<div className="w-16 flex flex-col items-center gap-4 py-4 bg-muted border-r">
<Button
onClick={() => router.push(`/home`)}
onClick={() => router.push(`/chat`)}
className="bg-transparent text-accent-foreground hover:text-accent"
>
<MessageCircle className="h-6 w-6" />
+1 -1
View File
@@ -71,7 +71,7 @@ export default function CreateAccount() {
Cookies.set("token", (res.data as any).token);
setFeedback({ kind: "info", message: "Account created! Redirecting..." });
setTimeout(() => router.push("/home"), 1000);
setTimeout(() => router.push("/chat"), 1000);
} catch (err: any) {
setFeedback({
kind: "error",
+1 -1
View File
@@ -37,7 +37,7 @@ export default function Login() {
});
// small delay to show feedback before redirect
setTimeout(() => router.push("/home"), 800);
setTimeout(() => router.push("/chat"), 800);
} catch (err: any) {
setFeedback({
kind: "error",