Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this PR is made by mistake #663

Closed
wants to merge 16 commits into from
Prev Previous commit
Next Next commit
fix code style
dodolia907 committed Dec 1, 2024
commit 7400f79c71e4134e26f69b81852360036fb78704
4 changes: 2 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -40,6 +40,6 @@ export default withBundleAnalyzer({
// 静的エクスポートを有効にする設定
output: 'export',
images: {
unoptimized: true, // 画像の最適化を無効にする
},
unoptimized: true // 画像の最適化を無効にする
}
})
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -27,7 +27,8 @@
"analyze:browser": "cross-env BUNDLE_ANALYZE=browser next build",
"test": "run-p test:*",
"test:lint": "eslint .",
"test:prettier": "prettier '**/*.{js,jsx,ts,tsx}' --check"
"test:prettier": "prettier '**/*.{js,jsx,ts,tsx}' --check",
"fix": "prettier '**/*.{js,jsx,ts,tsx}' --write"
},
"dependencies": {
"@fisch0920/use-dark-mode": "^2.4.0",
2 changes: 1 addition & 1 deletion pages/[pageId].tsx
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ export const getStaticProps: GetStaticProps<PageProps, Params> = async (
try {
const props = await resolveNotionPage(domain, rawPageId)

return { props}
return { props }
} catch (err) {
console.error('page error', domain, rawPageId, err)