diff --git a/src/components/CheckedTextInput.tsx b/src/components/CheckedTextInput.tsx index de2d7ae04..cf4aa119b 100644 --- a/src/components/CheckedTextInput.tsx +++ b/src/components/CheckedTextInput.tsx @@ -16,7 +16,7 @@ * along with this program. If not, see . */ -import { React, TextInput, useEffect } from "@webpack/common"; +import { React, TextInput } from "@webpack/common"; // TODO: Refactor settings to use this as well interface TextInputProps { @@ -55,10 +55,6 @@ export function CheckedTextInput({ value: initialValue, onChange, validate }: Te } } - useEffect(() => { - handleChange(initialValue); - }, [initialValue]); - return ( <>