Skip to content

Commit 2acb4dc

Browse files
authored
Update top.js
1 parent 106e4d2 commit 2acb4dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pages/top.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export async function getStaticProps() {
3636
return {
3737
props: { movies: JSON.parse(JSON.stringify(movies)) },
3838
};
39-
} catch (error) {
40-
console.log(error);
39+
} catch (e) {
40+
console.log(e);
4141
}
42-
}
42+
}

0 commit comments

Comments
 (0)