The open-source CapCut alternative
feat: added biome, fixed input hydration issue from uncontrolled input being used as controlled input
Hyteq2bb347f1ae57
diff --git a/apps/web/src/components/ui/input.tsx b/apps/web/src/components/ui/input.tsxindex 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},refdiff --git a/biome.json b/biome.jsonnew file mode 100644index 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"+ }+ }+ }+}