Fix CloudSync

This commit is contained in:
Vendicated 2024-03-22 04:08:08 +01:00
parent caa14ece0d
commit ca18b6e044
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
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 (
<>
<TextInput