diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 0000000..a9f6a01 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +npm run build diff --git a/components/Layout/Container.tsx b/components/Layout/Container.tsx index af84ee7..617ebe7 100644 --- a/components/Layout/Container.tsx +++ b/components/Layout/Container.tsx @@ -79,7 +79,7 @@ export default function Container({
- {widthSize >= 800 && ( + {widthSize && widthSize >= 800 && ( diff --git a/components/Layout/HeaderNav.tsx b/components/Layout/HeaderNav.tsx index ec5f63f..5b4cfd5 100644 --- a/components/Layout/HeaderNav.tsx +++ b/components/Layout/HeaderNav.tsx @@ -68,7 +68,7 @@ export default function HeaderNav() {
- {!Boolean(widthSize >= 800) && ( + {widthSize && !Boolean(widthSize >= 800) && (