Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewards ui fixed #1888

Merged
merged 2 commits into from
Oct 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading