1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-26 15:04:18 +00:00
pds-2021-g2-nest/nest_frontend/routes/PageRepository.js

13 lines
331 B
JavaScript
Raw Normal View History

2021-05-20 09:39:40 +00:00
import React, { useContext, useMemo, useState } from "react"
import { useParams } from "react-router"
2021-05-21 14:37:30 +00:00
import RepositoryViewer from "../components/providers/RepositoryViewer"
2021-05-15 16:05:13 +00:00
export default function PageRepository({ className, ...props }) {
2021-05-20 10:16:01 +00:00
const { id } = useParams()
return (
2021-05-21 14:37:30 +00:00
<RepositoryViewer id={id}/>
2021-05-15 16:05:13 +00:00
)
}