add navagation handler while file upload
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
import ProtectionSummary from '@/app/ui/marking-page/protection-summary';
|
||||
import FilesTable from '@/app/ui/dashboard/files-table';
|
||||
import PageTitle from '@/app/ui/page-title';
|
||||
import UploadSectionFile from '@/app/components/upload-section-file';
|
||||
|
||||
const ALLOWED_EXTENSIONS: string[] = ['jpg', 'jpeg', 'png', 'gif', 'bmp'];
|
||||
const FILE_TYPE = "VIDEO"
|
||||
const FILE_TYPE = "AUDIO"
|
||||
const MAX_SIZE = 1048576000;
|
||||
|
||||
export default function Page() {
|
||||
@@ -12,6 +13,7 @@ export default function Page() {
|
||||
<div>
|
||||
<PageTitle title="audio-protection" />
|
||||
<ProtectionSummary />
|
||||
<UploadSectionFile fileType={FILE_TYPE} allowedExtensions={ALLOWED_EXTENSIONS} maxFileSize={MAX_SIZE} />
|
||||
{/* <TestSection /> */}
|
||||
<FilesTable />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user