diff options
| author | Hyteq <DerpsDer.es@gmail.com> | 2025-06-23 08:55:55 +0300 |
|---|---|---|
| committer | Hyteq <DerpsDer.es@gmail.com> | 2025-06-23 08:55:55 +0300 |
| commit | 2bb347f1ae570e3b2b4e5da3de7787e754d49f67 (patch) | |
| tree | 77228dfdb72f471786a903dc159eda048c8cd4bf | |
| parent | e73e3506fc6e855f6f6ffd1cc4199c2c5bb59b99 (diff) | |
| download | opencut-2bb347f1ae570e3b2b4e5da3de7787e754d49f67.tar.gz | |
feat: added biome, fixed input hydration issue from uncontrolled input being used as controlled input
| -rw-r--r-- | apps/web/src/components/ui/input.tsx | 2 | ||||
| -rw-r--r-- | biome.json | 34 |
2 files changed, 35 insertions, 1 deletions
diff --git a/apps/web/src/components/ui/input.tsx b/apps/web/src/components/ui/input.tsx index c458e036..42f4c452 100644 --- a/apps/web/src/components/ui/input.tsx +++ b/apps/web/src/components/ui/input.tsx @@ -16,7 +16,7 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>( type, showPassword, onShowPasswordChange, - value = "", + value, ...props }, ref diff --git a/biome.json b/biome.json new file mode 100644 index 00000000..7175ec21 --- /dev/null +++ b/biome.json @@ -0,0 +1,34 @@ +{ + "$schema": "https://biomejs.dev/schemas/2.0.4/schema.json", + "vcs": { + "enabled": false, + "clientKind": "git", + "useIgnoreFile": false + }, + "files": { + "ignoreUnknown": false + }, + "formatter": { + "enabled": true, + "indentStyle": "tab" + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true + } + }, + "javascript": { + "formatter": { + "quoteStyle": "double" + } + }, + "assist": { + "enabled": true, + "actions": { + "source": { + "organizeImports": "on" + } + } + } +} |
