refactor: input component (#2999)

This commit is contained in:
Alex Yang
2023-07-04 14:52:46 +08:00
parent 394d535906
commit 65c6479ee4
6 changed files with 30 additions and 28 deletions
@@ -219,7 +219,7 @@ export const EditCollection = ({
<Input
data-testid="input-collection-title"
placeholder="Untitled Collection"
value={value.name}
defaultValue={value.name}
onChange={text =>
onChange({
...value,