Skip to content

Commit d000e03

Browse files
committed
update types
1 parent a7140c1 commit d000e03

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

webview-ui/src/components/settings/SeedControl.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { VSCodeCheckbox, VSCodeTextField } from "@vscode/webview-ui-toolkit/react"
1+
import { VSCodeCheckbox } from "@vscode/webview-ui-toolkit/react"
22
import { useEffect, useState } from "react"
33
import { useAppTranslation } from "@/i18n/TranslationContext"
44
import { useDebounce } from "react-use"
@@ -66,11 +66,10 @@ export const SeedControl = ({ value, onChange }: SeedControlProps) => {
6666
{isCustomSeed && (
6767
<div className="flex flex-col gap-3 pl-3 border-l-2 border-vscode-button-background">
6868
<div>
69-
<VSCodeTextField
69+
<input
7070
type="text"
71-
inputMode="numeric"
7271
value={inputValue}
73-
onInput={(e) => {
72+
onChange={(e) => {
7473
handleInputChange(e as React.ChangeEvent<HTMLInputElement>)
7574
}}
7675
className="w-full"

0 commit comments

Comments
 (0)