Fixed gradient selector not appearing with autologin on

This commit is contained in:
Lucas Oliveira 2024-05-01 05:17:49 +02:00
commit ee6faf5a90

View file

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