This commit is contained in:
cristhianzl 2024-05-02 16:22:10 -03:00
commit 9727c04e70

View file

@ -113,8 +113,7 @@ export default function GeneralPage() {
</div> </div>
<div className="grid gap-6"> <div className="grid gap-6">
{!autoLogin && (
<>
<Form.Root <Form.Root
onSubmit={(event) => { onSubmit={(event) => {
handlePatchGradient(); handlePatchGradient();
@ -152,7 +151,7 @@ export default function GeneralPage() {
</Form.Submit> </Form.Submit>
</CardFooter> </CardFooter>
</Card> </Card>
</Form.Root> </Form.Root>{!autoLogin && (
<Form.Root <Form.Root
onSubmit={(event) => { onSubmit={(event) => {
handlePatchPassword(); handlePatchPassword();
@ -218,7 +217,6 @@ export default function GeneralPage() {
</CardFooter> </CardFooter>
</Card> </Card>
</Form.Root> </Form.Root>
</>
)} )}
</div> </div>
</div> </div>