Skip to content

Commit

Permalink
Shrink Reset button
Browse files Browse the repository at this point in the history
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
  • Loading branch information
Phrosfire authored Feb 21, 2025
1 parent 13f0f55 commit 32952b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/app/profile/edit/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -462,14 +462,15 @@ const BattleSettingsEdit: React.FC<{ userId: string }> = ({ userId }) => {
/>
<Label htmlFor="battle-description">Show battle descriptions</Label>
< br/>
< br/>
<Confirm
title="Reset AI Profile"
button={
<Button
className="w-full bg-destructive text-destructive-foreground hover:bg-destructive/90"
disabled={!profile?.aiProfileId || isPending}
>
{isPending ? <Loader size={16} /> : "Reset AI Profile"}
{isPending ? <Loader size={5} /> : "Reset AI Profile"}
</Button>
}
onAccept={() => {
Expand Down

0 comments on commit 32952b2

Please sign in to comment.