Skip to content

Commit

Permalink
Fix prettier issues
Browse files Browse the repository at this point in the history
  • Loading branch information
saboonikhil committed Oct 8, 2024
1 parent 38c1ccb commit 33de8cd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
6 changes: 5 additions & 1 deletion components/account/OnboardingModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ const exchangeList = [
{
className: "",
title: "Banxa (Fiat)",
icon: <span className="bg-green-600 px-2 py-1 text-xs rounded text-white">NEW</span>,
icon: (
<span className="rounded bg-green-600 px-2 py-1 text-xs text-white">
NEW
</span>
),
disabled: false,
onClick: () =>
window.open(
Expand Down
12 changes: 6 additions & 6 deletions components/ui/ReferendumSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ const ReferendumSummary = ({
return (
<>
{referendum && (
<div className="w-full flex flex-col shadow-lg rounded-lg px-10 py-6 gap-4 font-medium">
<div className="flex w-full flex-col gap-4 rounded-lg px-10 py-6 font-medium shadow-lg">
<div className="flex items-center">
<div className="text-lg">Referendum</div>
<a
href={`https://polkadot.polkassembly.io/referenda/${referendumIndex}`}
className="ml-auto text-sm flex gap-2 items-center justify-center text-black rounded-md px-2 py-2 "
className="ml-auto flex items-center justify-center gap-2 rounded-md px-2 py-2 text-sm text-black "
target="_blank"
rel="noreferrer"
>
Expand All @@ -30,7 +30,7 @@ const ReferendumSummary = ({
</a>
</div>
<div className="flex items-center justify-center">
<div className="h-[150px] w-[300px] mt-3 ">
<div className="mt-3 h-[150px] w-[300px] ">
<CircularProgressbar
value={barValue}
circleRatio={0.5}
Expand All @@ -49,13 +49,13 @@ const ReferendumSummary = ({

<div className="flex">
<div className="flex flex-col">
<div className="text-[#0070EB] font-mono text-xl">
<div className="font-mono text-xl text-[#0070EB]">
{referendum.ayePercentage.mul(100).toFixed(1)}%
</div>
<div className="text-lg">Aye</div>
</div>
<div className="flex flex-col ml-auto">
<div className="text-[#FC9965] font-mono text-xl">
<div className="ml-auto flex flex-col">
<div className="font-mono text-xl text-[#FC9965]">
{referendum.nayPercentage.mul(100).toFixed(1)}%
</div>
<div className="text-lg">Nay</div>
Expand Down

0 comments on commit 33de8cd

Please sign in to comment.