Fix the input value

This commit is contained in:
Arnaud 2024-11-15 06:42:23 +07:00
parent ebea02fe84
commit 951365bac3
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@codex-storage/marketplace-ui-components",
"version": "0.0.43",
"version": "0.0.44",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@codex-storage/marketplace-ui-components",
"version": "0.0.43",
"version": "0.0.44",
"license": "MIT",
"dependencies": {
"lucide-react": "^0.453.0"

View File

@ -5,7 +5,7 @@
"type": "git",
"url": "https://github.com/codex-storage/codex-marketplace-ui-components"
},
"version": "0.0.43",
"version": "0.0.44",
"type": "module",
"scripts": {
"prepack": "npm run build",

View File

@ -102,7 +102,7 @@ export const Input = forwardRef<HTMLInputElement, Props>(
"aria-invalid": invalid || isInvalid,
})}
{...rest}
{...(value ? { value } : {})}
value={value || ""}
/>
</div>