Fix CloudSync
This commit is contained in:
parent
caa14ece0d
commit
ca18b6e044
1 changed files with 1 additions and 5 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* 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
|
// TODO: Refactor settings to use this as well
|
||||||
interface TextInputProps {
|
interface TextInputProps {
|
||||||
|
@ -55,10 +55,6 @@ export function CheckedTextInput({ value: initialValue, onChange, validate }: Te
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
handleChange(initialValue);
|
|
||||||
}, [initialValue]);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<TextInput
|
<TextInput
|
||||||
|
|
Loading…
Reference in a new issue