mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-22 17:35:42 +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() {
|
export async function getStaticProps() {
|
||||||
const projectData = await getCustomData('projects.json');
|
const projectData = getCustomData('projects.json');
|
||||||
|
|
||||||
return {
|
return {
|
||||||
props: {
|
props: {
|
||||||
|
Loading…
Reference in New Issue
Block a user