mirror of
https://github.com/System-End/site.git
synced 2026-04-19 19:45:07 +00:00
showcase lint
This commit is contained in:
parent
5e39b4353e
commit
4b476e91ae
1 changed files with 4 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ const Loading = () => <p>Loading...</p>
|
|||
|
||||
const ErrorMsg = () => <p>There was an error loading your project!</p>
|
||||
|
||||
export default Showcase = ({ projectID }) => {
|
||||
const Showcase = ({ projectID }) => {
|
||||
const [status, setStatus] = useState('loading')
|
||||
const [project, setProject] = useState(null)
|
||||
|
||||
|
|
@ -137,7 +137,9 @@ export default Showcase = ({ projectID }) => {
|
|||
)
|
||||
}
|
||||
|
||||
export default Showcase
|
||||
|
||||
export function getServerSideProps(context) {
|
||||
const { projectID } = context.query
|
||||
return { props: { projectID } }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue