fix: remove unused code

This commit is contained in:
Mythie
2023-08-29 17:26:19 +10:00
parent dfe04018a0
commit 7b2d3356f2
10 changed files with 10 additions and 659 deletions

View File

@ -22,14 +22,14 @@ import { LocaleDate } from '~/components/formatter/locale-date';
import { UploadDocument } from './upload-document';
export default async function DashboardPage() {
const session = await getRequiredServerComponentSession();
const user = await getRequiredServerComponentSession();
const [stats, results] = await Promise.all([
getStats({
userId: session.id,
user,
}),
findDocuments({
userId: session.id,
userId: user.id,
perPage: 10,
}),
]);

View File

@ -1,14 +0,0 @@
import Inbox from '~/components/(dashboard)/inbox/inbox';
export default function InboxPage() {
return (
<div className="mx-auto w-full max-w-screen-xl px-4 md:px-8">
<h1 className="text-4xl font-semibold">Inbox</h1>
<h3>Documents which you have been requested to sign.</h3>
<div className="mt-8">
<Inbox className="4xl:h-[70vh] sm:h-[40rem]" />
</div>
</div>
);
}