Commit e88c0649 authored by tom's avatar tom Committed by tom goriunov

[skip ci] remove loader text from buttons

parent 4dcfa6d9
...@@ -44,7 +44,6 @@ const RewardsButton = ({ variant = 'header', size }: Props) => { ...@@ -44,7 +44,6 @@ const RewardsButton = ({ variant = 'header', size }: Props) => {
size={ size } size={ size }
px={ !isLoading && Boolean(apiToken) ? 2.5 : 4 } px={ !isLoading && Boolean(apiToken) ? 2.5 : 4 }
isLoading={ isLoading } isLoading={ isLoading }
loadingText={ isMobile ? undefined : 'Merits' }
_hover={{ _hover={{
textDecoration: 'none', textDecoration: 'none',
}} }}
......
...@@ -88,7 +88,6 @@ const UserProfileButton = ({ profileQuery, size, variant, onClick, isPending }: ...@@ -88,7 +88,6 @@ const UserProfileButton = ({ profileQuery, size, variant, onClick, isPending }:
px={ dataExists ? 2.5 : 4 } px={ dataExists ? 2.5 : 4 }
fontWeight={ dataExists ? 700 : 600 } fontWeight={ dataExists ? 700 : 600 }
isLoading={ isButtonLoading } isLoading={ isButtonLoading }
loadingText={ isMobile ? undefined : 'Log in' }
> >
{ content } { content }
</Button> </Button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment