Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const setCreateAccountValue = (v: boolean) => updateGroup({ createAccount: setValue(v) });
const setPasswordValue = (v: string) => updateGroup({ password: updateGroup({ password: setValue(v) }) });
const setConfirmPasswordValue = (v: string) => updateGroup({ password: updateGroup({ confirmPassword: setValue(v) }) });