Skip to content

Instantly share code, notes, and snippets.

@DanyF-github
Created January 8, 2021 10:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DanyF-github/cda695b46d2e01c0843a431432edf35e to your computer and use it in GitHub Desktop.
Save DanyF-github/cda695b46d2e01c0843a431432edf35e to your computer and use it in GitHub Desktop.
// client/src/pages/ListHomeworkFilesPage.tsx
import React from 'react';
import { useParams } from 'react-router-dom';
import { HomeworkFileList } from '../components/Homeworks';
const ListHomeworkFilesPage = () => {
const { uuid } = useParams<{uuid: string}>();
return <HomeworkFileList uuid={uuid} />
}
export default ListHomeworkFilesPage;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment