Skip to content

Commit

Permalink
Fix CloudSync
Browse files Browse the repository at this point in the history
  • Loading branch information
Vendicated committed Mar 22, 2024
1 parent caa14ec commit ca18b6e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/CheckedTextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -55,10 +55,6 @@ export function CheckedTextInput({ value: initialValue, onChange, validate }: Te
}
}

useEffect(() => {
handleChange(initialValue);
}, [initialValue]);

return (
<>
<TextInput
Expand Down

0 comments on commit ca18b6e

Please sign in to comment.