1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 09:56:24 +00:00

Fix CloudSync

This commit is contained in:
Vendicated 2024-03-22 04:08:08 +01:00 committed by Luna
parent e1edf6212e
commit 7337bfaf9c

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