From ca18b6e0446b6f1858a82de47489bb01f925ce25 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Fri, 22 Mar 2024 04:08:08 +0100 Subject: [PATCH] Fix CloudSync --- src/components/CheckedTextInput.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/CheckedTextInput.tsx b/src/components/CheckedTextInput.tsx index de2d7ae0..cf4aa119 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 ( <>