This commit is contained in:
Timur Ercan
2023-02-23 14:41:49 +01:00
parent 6e17f8c217
commit 50e6dfc0ae

View File

@ -337,14 +337,6 @@ const DocumentsPage: NextPageWithLayout = (props: any) => {
);
};
// export async function getServerSideProps(context: any) {
// return {
// props: {
// documents: await getDocumentsForUserFromToken(context),
// },
// };
// }
function formatDocumentStatus(status: DocumentStatus) {
switch (status) {
case DocumentStatus.DRAFT: