Feature/UI settings (#1826)

This commit is contained in:
Cristhian Zanforlin Lousa 2024-05-02 16:09:57 -03:00 • committed by GitHub
commit be8693ed2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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>