Add page title

This commit is contained in:
Elias Schneider
2022-04-28 15:31:37 +02:00
parent 22bca7692e
commit 5845659bab
7 changed files with 36 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
import { useModals } from "@mantine/modals";
import { useRouter } from "next/router";
import { useEffect, useState } from "react";
import Meta from "../../components/Meta";
import FileList from "../../components/share/FileList";
import showEnterPasswordModal from "../../components/share/showEnterPasswordModal";
import showShareNotFoundModal from "../../components/share/showShareNotFoundModal";
@@ -41,13 +42,14 @@ const Share = () => {
}, []);
return (
<div>
<>
<Meta title={`Share ${shareId}`} />
<FileList
files={shareList}
shareId={shareId}
isLoading={shareList.length == 0}
/>
</div>
</>
);
};