diff --git a/.husky/pre-commit b/.husky/pre-commit index 6130f92..79bf55a 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,8 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -pnpm lint:fix && pnpm format \ No newline at end of file +# Run lint and format before each commit +pnpm lint:fix && pnpm format + +# Add the changes to the staging area +git add . \ No newline at end of file diff --git a/src/components/ui/dialog.tsx b/src/components/ui/dialog.tsx index 507ed05..eb808cf 100644 --- a/src/components/ui/dialog.tsx +++ b/src/components/ui/dialog.tsx @@ -30,7 +30,7 @@ const DialogOverlay = React.forwardRef<