Skip to content

Commit

Permalink
fix button
Browse files Browse the repository at this point in the history
  • Loading branch information
notV4l committed Nov 11, 2024
1 parent 98b7926 commit f50f097
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion web/src/components/icons/branding/Ekubo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const Ekubo = (props: IconProps) => {
/>
<defs>
<linearGradient id="paint0_linear_1_30" x1="0" y1="0" x2="134" y2="134" gradientUnits="userSpaceOnUse">
<stop stop-color="#202F20" />
<stop stopColor="#202F20" />
<stop offset="1" />
</linearGradient>
</defs>
Expand Down
22 changes: 11 additions & 11 deletions web/src/pages/game/[gameModeName].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,18 +128,18 @@ const New = observer(() => {
<ChildrenOrConnect variant="primary" h="35px">
{gameMode == GameMode.Ranked && (
<>
{balance > 1000n * ETHER ? (
<Button
w={["full", "auto"]}
px={["auto", "20px"]}
isLoading={isPending}
onClick={() => create(gameMode)}
>
Play
</Button>
) : (
<Button
w={["full", "auto"]}
px={["auto", "20px"]}
isLoading={isPending}
onClick={() => create(gameMode)}
isDisabled={balance < 1000n * ETHER}
>
Play
</Button>
{/* ) : (
<>{selectedChain.name != "MAINNET" && <PaperFaucetButton />}</>
)}
)} */}
</>
)}
{gameMode == GameMode.Noob && (
Expand Down

0 comments on commit f50f097

Please sign in to comment.