optional auth

This commit is contained in:
Abdelrahman mostafa 2024-10-08 21:15:55 +03:00
parent 1680a1786e
commit b16f2516a6
17 changed files with 13339 additions and 1297 deletions

View file

@ -1,4 +1,5 @@
import ChatWindow from '@/components/ChatWindow';
import AuthSettingsHandler from '@/components/AuthSettingsHandler';
import { Metadata } from 'next';
import { Suspense } from 'react';
@ -7,14 +8,13 @@ export const metadata: Metadata = {
description: 'Chat with the internet, chat with Perplexica.',
};
const Home = () => {
export default function Home() {
return (
<div>
<AuthSettingsHandler />
<Suspense>
<ChatWindow />
</Suspense>
</div>
);
};
export default Home;
}