1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-29 07:54:19 +00:00
pds-2021-g2-nest/nest_frontend/routes/PageRepository.js

12 lines
307 B
JavaScript

import React from "react"
import { useParams } from "react-router"
import RepositoryViewer from "../components/providers/RepositoryViewer"
export default function PageRepository({ className, ...props }) {
const { id } = useParams()
return (
<RepositoryViewer id={id} {...props}/>
)
}