mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-11 18:45:41 +00:00
Removed await from non async function call
This commit is contained in:
parent
6bd5a88c89
commit
3ff9321ec5
@ -33,7 +33,7 @@ export default function Home({projectData}) {
|
||||
}
|
||||
|
||||
export async function getStaticProps() {
|
||||
const projectData = await getCustomData('projects.json');
|
||||
const projectData = getCustomData('projects.json');
|
||||
|
||||
return {
|
||||
props: {
|
||||
|
Loading…
Reference in New Issue
Block a user