Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot committed Jul 25, 2020
1 parent c01b67b commit 1141ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/auto-export/pages/[post]/[cmnt].js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if (typeof window !== 'undefined') {
window.pathnames = []
}

export default () => {
export default function Page() {
if (typeof window !== 'undefined') {
window.pathnames.push(window.location.pathname)
}
Expand Down

0 comments on commit 1141ea2

Please sign in to comment.