diff --git a/.husky/pre-commit b/.husky/pre-commit index 3194577c510f4f8e9e5a18a50f8c16c7e2da9305..6860bd2847de1e3800180a31d8d3ef9ca88f2012 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,11 +1,11 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npx --no -- commitlint --edit ${1} - +# npx --no -- commitlint --edit ${1} + echo 'ðŸ—ï¸ðŸ‘· Styling your project before committing👷â€â™‚ï¸ðŸ—ï¸' echo 'please be patient, this may take a while...' - + # Check ESLint and Prettier Standards npm run format || ( @@ -29,5 +29,5 @@ yarn run test || Check the test result and fix the tests.' false; ) - + echo '🎉 No error found: committing this now.... ✨🚀ðŸ„â€â™‚ï¸ðŸ»' diff --git a/pages/_document.tsx b/pages/_document.tsx index 02f5db06cb8edf2eedcb9f835c77e8fa5edfa185..94c6212c42688410055e35724e0b36852ff33ca3 100644 --- a/pages/_document.tsx +++ b/pages/_document.tsx @@ -1,9 +1,11 @@ -import { Html, Head, Main, NextScript } from 'next/document'; +import { Head, Html, Main, NextScript } from 'next/document'; import Script from 'next/script'; const Document = (): React.ReactNode => ( <Html> - <Head /> + <Head> + <link rel="shortcut icon" href="./favicon.ico" /> + </Head> <body> <Main /> <NextScript />