Skip to content

Commit

Permalink
chore: remove disabled condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Fasih Ali authored and Fasih Ali committed Sep 29, 2023
1 parent 4ed1a7b commit 265a511
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,12 @@ const MainNavButtons = () => {
gap="8x"
>
{is_logged_in ? (
<Button.Primary
disabled={is_region_loading}
onClick={handleGetTrading}
aria-label="Get trading"
outlined
>
<Button.Primary onClick={handleGetTrading} aria-label="Get trading" outlined>
<Localize translate_text="_t_Get trading_t_" />
</Button.Primary>
) : (
<>
<Button.Primary
disabled={is_region_loading}
id="dm-nav-login-button"
aria-label="Login"
onClick={handleLogin}
Expand All @@ -48,7 +42,6 @@ const MainNavButtons = () => {
</Button.Primary>
<Button.Primary
visible="larger-than-tablet"
disabled={is_region_loading}
aria-label="Signup"
id="dm-nav-signup"
onClick={handleSignup}
Expand Down

0 comments on commit 265a511

Please sign in to comment.