Skip to content

Commit

Permalink
fix: run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioRodrigues10 committed Nov 10, 2023
1 parent 9c2a6b8 commit f746adc
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
5 changes: 3 additions & 2 deletions layout/Attendee/Wheel/Wheel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,11 @@ function WheelPage() {
<WheelComponent steps={16} angle={st.angle} />
</div>
<Button
customStyle={`${canSpin()
customStyle={`${
canSpin()
? "cursor-pointer bg-quinary"
: "bg-gray-400 opacity-50"
} m-auto mt-10 block h-20 w-64 rounded-full`}
} m-auto mt-10 block h-20 w-64 rounded-full`}
disabled={!canSpin()}
onClick={spinTheWheel}
title="SPIN THE WHEEL"
Expand Down
5 changes: 4 additions & 1 deletion layout/Staff/components/StaffRedeemButton/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ import Button from "@components/Button";
export default function StaffRedeemButton() {
return (
<div className="mt-8 w-auto">
<Button customStyle="m-auto block h-16 w-full rounded-full bg-quinary" title="💰 Redeem prizes" />
<Button
customStyle="m-auto block h-16 w-full rounded-full bg-quinary"
title="💰 Redeem prizes"
/>
</div>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function SponsorBadgeButton({ sponsor, all }) {
);
return (
<div className="mt-8 w-auto">
<Button
<Button
customStyle="m-auto block h-16 w-full rounded-full bg-quinary"
text="🏅 Dar Badge {text}"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import Button from "@components/Button";
export default function SponsorPrizeButton({ prize }) {
return (
<div className="mt-8 w-auto">
<Button customStyle="m-auto block h-16 w-full rounded-full bg-quinary" title={`🏅 Prémio ${prize}`}/>
<Button
customStyle="m-auto block h-16 w-full rounded-full bg-quinary"
title={`🏅 Prémio ${prize}`}
/>
</div>
);
}
5 changes: 4 additions & 1 deletion layout/moonstone/sponsor/spotlight/SpotlightButton/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import Button from "@components/Button";
export default function SpotlightButton() {
return (
<div className="mt-8 w-auto">
<Button customStyle="m-auto block h-16 w-full rounded-full bg-quinary" text="Ativar Spotlight" />
<Button
customStyle="m-auto block h-16 w-full rounded-full bg-quinary"
text="Ativar Spotlight"
/>
</div>
);
}

0 comments on commit f746adc

Please sign in to comment.