Skip to content

Commit

Permalink
Rewards ui fixed (#1888)
Browse files Browse the repository at this point in the history
* fixed rewards ui

* fixed rewards ui
  • Loading branch information
mishramonalisha76 authored Oct 1, 2024
1 parent e9eac4b commit 44e48d3
Showing 1 changed file with 23 additions and 27 deletions.
50 changes: 23 additions & 27 deletions src/modules/rewards/Rewards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,36 +52,32 @@ const Rewards: FC<RewardsProps> = () => {

return (
<Box
flexDirection="column"
display="flex"
width={{ initial: '100%', ml: '357px' }}
gap="spacing-md"
height="100%"
width="-webkit-fill-available"
>
<Box
flexDirection="column"
display="flex"
gap="spacing-md"
height="100%"
<Text
variant="h3-bold"
display={{ ml: 'none', initial: 'block' }}
color="text-primary"
>
<Text
variant="h3-bold"
display={{ ml: 'none', initial: 'block' }}
color="text-primary"
>
{heading}
</Text>
<Text
variant="h4-semibold"
display={{ ml: 'block', initial: 'none' }}
color="text-primary"
>
{heading}
</Text>

<RewardsTabsContainer
activeTab={activeTab}
handleSetActiveTab={handleSetActiveTab}
handleUnlockProfile={handleUnlockProfile}
/>
</Box>
{heading}
</Text>
<Text
variant="h4-semibold"
display={{ ml: 'block', initial: 'none' }}
color="text-primary"
>
{heading}
</Text>

<RewardsTabsContainer
activeTab={activeTab}
handleSetActiveTab={handleSetActiveTab}
handleUnlockProfile={handleUnlockProfile}
/>

{userPushSDKInstance && userPushSDKInstance?.readmode() && isAuthModalVisible && (
<Box
Expand Down

0 comments on commit 44e48d3

Please sign in to comment.