feat(app): lint & beautify

This commit is contained in:
ItzCrazyKns
2025-12-23 18:54:01 +05:30
parent 24c32ed881
commit cf95ea0af7
4 changed files with 23 additions and 24 deletions

View File

@@ -51,22 +51,26 @@ const ChatWindow = () => {
);
}
return isReady ? notFound ? (
<NextError statusCode={404} />
return isReady ? (
notFound ? (
<NextError statusCode={404} />
) : (
<div>
{messages.length > 0 ? (
<>
<Navbar />
<Chat />
</>
) : (
<EmptyChat />
)}
</div>
)
) : (
<div>
{messages.length > 0 ? (
<>
<Navbar />
<Chat />
</>
) : (
<EmptyChat />
)}
<div className="flex items-center justify-center min-h-screen w-full">
<Loader />
</div>
) : <div className='flex items-center justify-center min-h-screen w-full'>
<Loader />
</div>;
);
};
export default ChatWindow;