diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 8883926e..a57fa9f1 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -84,6 +84,7 @@ module.exports = { ], 'react-i18n/no-dynamic-translation-keys': 'error', 'react-i18n/no-missing-interpolation-keys': 'error', + 'react/jsx-curly-brace-presence': ['warn', 'never'], // disable unnecessary rules from recommendations 'react/display-name': 'off', '@typescript-eslint/no-non-null-assertion': 'off', diff --git a/src/App.tsx b/src/App.tsx index 82164089..9c232c43 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -49,7 +49,7 @@ const App: FC> = () => { ) : ( - + )} diff --git a/src/common/AppNavbar.tsx b/src/common/AppNavbar.tsx index bc6872fc..be454c2b 100644 --- a/src/common/AppNavbar.tsx +++ b/src/common/AppNavbar.tsx @@ -24,8 +24,8 @@ const NavbarLink = ({ children, to }: NavbarLinkProps) => { return ( { { route: RoutePaths.Dashboard, iconComponent: }, { route: RoutePaths.Credentials, - iconComponent: , + iconComponent: , }, { route: RoutePaths.Rewards, iconComponent: }, ], @@ -67,15 +67,15 @@ const AppNavbar = () => { return ( - + diff --git a/src/common/BackLink.tsx b/src/common/BackLink.tsx index f1f62eac..337c829d 100644 --- a/src/common/BackLink.tsx +++ b/src/common/BackLink.tsx @@ -17,7 +17,7 @@ export default function BackLink({ to, ...rest }: Props) { variant='text' color='secondary' size='small' - startIcon={} + startIcon={} {...rest} sx={{ width: 'fit-content', ...rest.sx }} > diff --git a/src/common/CredentialCard.tsx b/src/common/CredentialCard.tsx index 7bec41b1..ad217240 100644 --- a/src/common/CredentialCard.tsx +++ b/src/common/CredentialCard.tsx @@ -15,7 +15,7 @@ function DotsDecoration({ ...rest }: StackProps) { // TODO: alpha(palette.common.white, ...) should be configured together with bg return ( - + {Array.from({ length: rowsCount }, (v, i) => i).map(rowIdx => ( {Array.from({ length: maxDots - rowIdx }, (v, i) => i).map(boxIdx => ( @@ -23,7 +23,7 @@ function DotsDecoration({ ...rest }: StackProps) { key={boxIdx} width={8} height={8} - borderRadius={'50%'} + borderRadius='50%' bgcolor={alpha(palette.common.white, 0.16)} /> ))} @@ -66,7 +66,7 @@ export default function CredentialCard({ vc, issuerDetails, ...rest }: Props) { height={40} color={palette.common.white} bgcolor={alpha(palette.common.white, 0.1)} - borderRadius={'50%'} + borderRadius='50%' p={2} > {/*TODO: define map for credential types*/} diff --git a/src/common/ErrorView.tsx b/src/common/ErrorView.tsx index 6f632be5..f7313c92 100644 --- a/src/common/ErrorView.tsx +++ b/src/common/ErrorView.tsx @@ -22,9 +22,9 @@ export default function ErrorView({ return ( {icon} - + {title} {description && ( diff --git a/src/common/InfiniteList.tsx b/src/common/InfiniteList.tsx index 07bf3cab..8a8f5551 100644 --- a/src/common/InfiniteList.tsx +++ b/src/common/InfiniteList.tsx @@ -33,7 +33,7 @@ export default function InfiniteList({ {children} {loadingState === LoadingStates.NextLoading ? ( - + ) : loadingState === LoadingStates.Error ? ( @@ -47,7 +47,7 @@ export default function InfiniteList({ ) : loadingState === LoadingStates.Loading ? ( - + ) : loadingState === LoadingStates.Error ? ( {icon} - + {title} {description && ( diff --git a/src/common/PageListFilters.tsx b/src/common/PageListFilters.tsx index 39e947c1..517d95ab 100644 --- a/src/common/PageListFilters.tsx +++ b/src/common/PageListFilters.tsx @@ -20,18 +20,12 @@ export default function PageListFilters({ tabs, onSearchInput, actionBar, ...res const handleSearchInput = debounce((value: string) => onSearchInput?.(value), 500) return ( - + {tabs && } - + handleSearchInput(e.target.value)} /> diff --git a/src/common/ProfileMenu.tsx b/src/common/ProfileMenu.tsx index de674b13..d384ccbe 100644 --- a/src/common/ProfileMenu.tsx +++ b/src/common/ProfileMenu.tsx @@ -82,13 +82,13 @@ export default function ProfileMenu({ userDid }: ProfileMenuProps) { }, }} > - + - + {formatDid(userDid)} @@ -102,9 +102,9 @@ export default function ProfileMenu({ userDid }: ProfileMenuProps) { {/*TODO: Add handler*/} - + - + {isExporting ? 'Exporting...' : 'Export Identity'} @@ -116,15 +116,15 @@ export default function ProfileMenu({ userDid }: ProfileMenuProps) { sx={menuItemSx} > - + - Help Center + Help Center - + - + Disconnect diff --git a/src/contexts/toasts-manager/toasts/DefaultToast.tsx b/src/contexts/toasts-manager/toasts/DefaultToast.tsx index 785821f4..e3ba3afd 100644 --- a/src/contexts/toasts-manager/toasts/DefaultToast.tsx +++ b/src/contexts/toasts-manager/toasts/DefaultToast.tsx @@ -46,7 +46,7 @@ const DefaultToast = forwardRef((props: Props, ref) => { onClose={() => closeSnackbar(id)} > {title} - {message} + {message} ) diff --git a/src/layouts/AuthLayout.tsx b/src/layouts/AuthLayout.tsx index 2e4e3bc2..bd6757ba 100644 --- a/src/layouts/AuthLayout.tsx +++ b/src/layouts/AuthLayout.tsx @@ -8,28 +8,28 @@ const PublicLayout = ({ children }: PropsWithChildren) => { const { palette, spacing } = useTheme() return ( - + - - - + + + @@ -38,16 +38,11 @@ const PublicLayout = ({ children }: PropsWithChildren) => { - + diff --git a/src/layouts/MainLayout.tsx b/src/layouts/MainLayout.tsx index c84a9186..48cc1eda 100644 --- a/src/layouts/MainLayout.tsx +++ b/src/layouts/MainLayout.tsx @@ -8,10 +8,10 @@ const MainLayout = ({ children }: PropsWithChildren) => { const { spacing } = useTheme() return ( - + - - + + {children} diff --git a/src/layouts/PublicLayout.tsx b/src/layouts/PublicLayout.tsx index 4856f241..d85ee50d 100644 --- a/src/layouts/PublicLayout.tsx +++ b/src/layouts/PublicLayout.tsx @@ -16,28 +16,28 @@ const PublicLayout = ({ children }: PropsWithChildren) => { bgcolor={palette.background.default} > - + - - + + {children} diff --git a/src/pages/Credentials/pages/CredentialsId/components/ActionButton.tsx b/src/pages/Credentials/pages/CredentialsId/components/ActionButton.tsx index fc53fed8..db895366 100644 --- a/src/pages/Credentials/pages/CredentialsId/components/ActionButton.tsx +++ b/src/pages/Credentials/pages/CredentialsId/components/ActionButton.tsx @@ -36,7 +36,7 @@ export default function ActionButton({ justifyContent='center' alignItems='center' bgcolor={palette.background.paper} - borderRadius={'50%'} + borderRadius='50%' sx={{ transition: Transitions.Default, }} diff --git a/src/pages/Credentials/pages/CredentialsId/index.tsx b/src/pages/Credentials/pages/CredentialsId/index.tsx index 06d08fdb..745a8100 100644 --- a/src/pages/Credentials/pages/CredentialsId/index.tsx +++ b/src/pages/Credentials/pages/CredentialsId/index.tsx @@ -162,7 +162,7 @@ export default function CredentialsId() { ) : ( View all credentials diff --git a/src/pages/Credentials/pages/CredentialsList/index.tsx b/src/pages/Credentials/pages/CredentialsList/index.tsx index fef4f2c0..4e7017e7 100644 --- a/src/pages/Credentials/pages/CredentialsList/index.tsx +++ b/src/pages/Credentials/pages/CredentialsList/index.tsx @@ -44,7 +44,7 @@ export default function CredentialsList({ ...rest }: Props) { {`There's an error occurred, please, reload page`} ) : !vcs.length || isEmpty(issuersDetails) ? ( Load Credentials} /> ) : ( diff --git a/src/pages/Credentials/pages/CredentialsRequests/components/ClaimVCsModal.tsx b/src/pages/Credentials/pages/CredentialsRequests/components/ClaimVCsModal.tsx index 3e3d8042..276f7ceb 100644 --- a/src/pages/Credentials/pages/CredentialsRequests/components/ClaimVCsModal.tsx +++ b/src/pages/Credentials/pages/CredentialsRequests/components/ClaimVCsModal.tsx @@ -70,9 +70,11 @@ export default function ClaimVCsModal({ orgGroupRequest, onClose, ...rest }: Pro }} > {vcFields.map((field, idx) => ( - + {/*TODO: add loader for each processing schema*/} - {field.key}: + {field.key} + {': '} + ))} diff --git a/src/pages/Credentials/pages/CredentialsRequests/index.tsx b/src/pages/Credentials/pages/CredentialsRequests/index.tsx index 3f3df15f..d7677e34 100644 --- a/src/pages/Credentials/pages/CredentialsRequests/index.tsx +++ b/src/pages/Credentials/pages/CredentialsRequests/index.tsx @@ -34,9 +34,9 @@ export default function CredentialsRequests({ ...rest }: Props) { - - - + + + Back diff --git a/src/pages/Dashboard/index.tsx b/src/pages/Dashboard/index.tsx index 96142f2a..534ebabd 100644 --- a/src/pages/Dashboard/index.tsx +++ b/src/pages/Dashboard/index.tsx @@ -56,11 +56,11 @@ export default function Dashboard() { return ( - + - {'Latest Credentials'} + Latest Credentials @@ -80,7 +80,7 @@ export default function Dashboard() { {`There's an error occurred, please, reload page`} ) : !lastVCsDesc.length || isEmpty(issuersDetails) ? ( Load Credentials} /> ) : ( diff --git a/src/pages/Orgs/pages/OrgsId/pages/OrgGroups/pages/OrgGroupsId/components/CredentialsMetadataBuilder.tsx b/src/pages/Orgs/pages/OrgsId/pages/OrgGroups/pages/OrgGroupsId/components/CredentialsMetadataBuilder.tsx index 4cb9d6ad..deaa9584 100644 --- a/src/pages/Orgs/pages/OrgsId/pages/OrgGroups/pages/OrgGroupsId/components/CredentialsMetadataBuilder.tsx +++ b/src/pages/Orgs/pages/OrgsId/pages/OrgGroups/pages/OrgGroupsId/components/CredentialsMetadataBuilder.tsx @@ -174,7 +174,7 @@ export default function CredentialsMetadataBuilder({ control={control} render={({ field }) => ( ({ value: value, diff --git a/src/pages/Orgs/pages/OrgsId/pages/OrgGroups/pages/OrgGroupsId/components/List.tsx b/src/pages/Orgs/pages/OrgsId/pages/OrgGroups/pages/OrgGroupsId/components/List.tsx index ba9060fd..136f862d 100644 --- a/src/pages/Orgs/pages/OrgsId/pages/OrgGroups/pages/OrgGroupsId/components/List.tsx +++ b/src/pages/Orgs/pages/OrgsId/pages/OrgGroups/pages/OrgGroupsId/components/List.tsx @@ -108,7 +108,7 @@ export default function List({ filter, ...rest }: Props) { Member Details - setIsDrawerShown(false)}> + setIsDrawerShown(false)}> diff --git a/src/pages/Orgs/pages/OrgsId/pages/OrgGroups/pages/OrgGroupsId/index.tsx b/src/pages/Orgs/pages/OrgsId/pages/OrgGroups/pages/OrgGroupsId/index.tsx index 750dad0c..82704544 100644 --- a/src/pages/Orgs/pages/OrgsId/pages/OrgGroups/pages/OrgGroupsId/index.tsx +++ b/src/pages/Orgs/pages/OrgsId/pages/OrgGroups/pages/OrgGroupsId/index.tsx @@ -136,7 +136,7 @@ export default function OrgGroupsId() { return ( diff --git a/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/EditLinksDrawer.tsx b/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/EditLinksDrawer.tsx index c370f573..e57a878a 100644 --- a/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/EditLinksDrawer.tsx +++ b/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/EditLinksDrawer.tsx @@ -116,16 +116,16 @@ export default function EditLinksDrawer({ links, onLinksUpdate, ...rest }: Props {form.isFormDisabled && ( theme.palette.background.light} > - + )} diff --git a/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/LinkForm.tsx b/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/LinkForm.tsx index 394d2b38..be326dea 100644 --- a/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/LinkForm.tsx +++ b/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/LinkForm.tsx @@ -55,10 +55,13 @@ export default function LinkForm({ field, index, form, onRemove }: Props) { zIndex: isDragging ? 1000 : 0, }} > - - Link {index + 1} + + + {'Link '} + {index + 1} + {hasManyLinks && ( - + diff --git a/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/LinkItem.tsx b/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/LinkItem.tsx index 860894be..92f10ff2 100644 --- a/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/LinkItem.tsx +++ b/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/LinkItem.tsx @@ -34,17 +34,17 @@ export default function LinkItem({ link }: Props) { return ( - - Links + + Links {!!links.length && isOrgOwner && ( } onClick={() => setIsLinkDrawerShown(true)} > @@ -37,12 +37,12 @@ export default function LinksBlock() { )} - + {links.length ? ( links.map((link, index) => ) ) : ( setIsLinkDrawerShown(true)}> diff --git a/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/OrgOverview.tsx b/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/OrgOverview.tsx index aa2058fd..b492fc4a 100644 --- a/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/OrgOverview.tsx +++ b/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/OrgOverview.tsx @@ -10,8 +10,8 @@ export default function OrgOverview() { return ( - - + + {org.metadata.name} {org.status.value === OrgsStatuses.Verified && ( - + )} - + {org.metadata.description} - - - Associated people - + + + Associated people + {org.members_count} - - Credentials - + + Credentials + {org.issued_claims_count} diff --git a/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/ProofValidationResult.tsx b/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/ProofValidationResult.tsx index ddf84782..e2c4640c 100644 --- a/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/ProofValidationResult.tsx +++ b/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/ProofValidationResult.tsx @@ -64,15 +64,15 @@ export default function ProofValidationResult({ proof, isValid }: Props) { {validationDetails.map((detail, index) => ( - + {detail.text} - + {detail.value} ))} diff --git a/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/ProofValidityBadge.tsx b/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/ProofValidityBadge.tsx index 7bcab6e6..24b86fe0 100644 --- a/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/ProofValidityBadge.tsx +++ b/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/components/ProofValidityBadge.tsx @@ -9,7 +9,7 @@ export default function ProofValidityBadge({ valid }: Props) { return ( - - Verify proofs + + Verify proofs - + - + {/* TODO: update text */} Please use Verify to check whether the source officially represents Rarimo. Email address, phone number, Discord ID, Twitter account or Telegram ID. diff --git a/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/index.tsx b/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/index.tsx index 730c5ca9..2fa721d7 100644 --- a/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/index.tsx +++ b/src/pages/Orgs/pages/OrgsId/pages/OrgRoot/index.tsx @@ -12,18 +12,18 @@ export default function OrgRoot() { const { palette } = useTheme() return ( - - + + - - + + View all organizations diff --git a/src/pages/Orgs/pages/OrgsList/components/ListCard.tsx b/src/pages/Orgs/pages/OrgsList/components/ListCard.tsx index b3489e2d..939cf802 100644 --- a/src/pages/Orgs/pages/OrgsList/components/ListCard.tsx +++ b/src/pages/Orgs/pages/OrgsList/components/ListCard.tsx @@ -32,36 +32,32 @@ export default function ListCard({ org, ...rest }: Props) { variant='outlined' > - - + + {org.metadata.name} {org.status.value === OrgsStatuses.Verified && ( - + )} - + {org.metadata.description} - - {'Associated people'} + + Associated people - + {org.members_count} - - {'Credentials'} + + Credentials - + {org.issued_claims_count} diff --git a/src/pages/Orgs/pages/OrgsNew/components/MetadataForm.tsx b/src/pages/Orgs/pages/OrgsNew/components/MetadataForm.tsx index 316e894c..d535e870 100644 --- a/src/pages/Orgs/pages/OrgsNew/components/MetadataForm.tsx +++ b/src/pages/Orgs/pages/OrgsNew/components/MetadataForm.tsx @@ -125,7 +125,7 @@ export default function MetadataForm({ formProps, onOrgCreated, ...rest }: Props } + endIcon={} > - {'Create'} + Create diff --git a/src/pages/Orgs/pages/OrgsNew/components/RegisterIntro.tsx b/src/pages/Orgs/pages/OrgsNew/components/RegisterIntro.tsx index 4847b17c..addf51ac 100644 --- a/src/pages/Orgs/pages/OrgsNew/components/RegisterIntro.tsx +++ b/src/pages/Orgs/pages/OrgsNew/components/RegisterIntro.tsx @@ -11,8 +11,8 @@ export default function RegisterIntro({ nextStepCb, ...rest }: Props) { const { palette, typography, spacing } = useTheme() return ( - Register - + Register + Create your company profile - Enter your company details - Verify domain - Create & Manage Credentials + Enter your company details + Verify domain + Create & Manage Credentials diff --git a/src/pages/Rewards/pages/EarnHistory/components/EventItem.tsx b/src/pages/Rewards/pages/EarnHistory/components/EventItem.tsx index 32722392..007243ba 100644 --- a/src/pages/Rewards/pages/EarnHistory/components/EventItem.tsx +++ b/src/pages/Rewards/pages/EarnHistory/components/EventItem.tsx @@ -14,8 +14,8 @@ export default function EventItem({ event }: Props) { const { palette } = useTheme() return ( - - + + - + {event.meta.static.title} - + {event.meta.static.expires_at && ( - Exp: {formatDateTime(event.meta.static.expires_at)} + {'Exp: '} + {formatDateTime(event.meta.static.expires_at)} )} @@ -42,13 +43,13 @@ export default function EventView({ event }: Props) { {event?.meta.static.description ?? ''} {event.meta.static.action_url && ( )} diff --git a/src/pages/Rewards/pages/EventId/index.tsx b/src/pages/Rewards/pages/EventId/index.tsx index 750c4791..e7a3f1c6 100644 --- a/src/pages/Rewards/pages/EventId/index.tsx +++ b/src/pages/Rewards/pages/EventId/index.tsx @@ -33,14 +33,14 @@ export default function EventId() { return ( - + {event && ( - + - After claiming you will be{' '} + {'After claiming you will be'}{' '} downgraded in Leaderboard @@ -137,16 +137,16 @@ export default function ClaimModal({ onClaim, ...rest }: Props) { {isFormDisabled && ( theme.palette.background.light} > - + )} diff --git a/src/pages/Rewards/pages/RewardsRoot/components/ClaimWarning.tsx b/src/pages/Rewards/pages/RewardsRoot/components/ClaimWarning.tsx index f86506f4..2690ef5e 100644 --- a/src/pages/Rewards/pages/RewardsRoot/components/ClaimWarning.tsx +++ b/src/pages/Rewards/pages/RewardsRoot/components/ClaimWarning.tsx @@ -12,16 +12,16 @@ export default function ClaimWarning({ onAction, ...rest }: Props) { return ( - + You have to reach Level 2 to claim diff --git a/src/pages/Rewards/pages/RewardsRoot/components/EnterProgram.tsx b/src/pages/Rewards/pages/RewardsRoot/components/EnterProgram.tsx index 36bed61c..e3b4c8d4 100644 --- a/src/pages/Rewards/pages/RewardsRoot/components/EnterProgram.tsx +++ b/src/pages/Rewards/pages/RewardsRoot/components/EnterProgram.tsx @@ -21,7 +21,7 @@ export default function EnterProgram() { return ( - + diff --git a/src/pages/Rewards/pages/RewardsRoot/components/EventItem.tsx b/src/pages/Rewards/pages/RewardsRoot/components/EventItem.tsx index e5eb173a..8d23564e 100644 --- a/src/pages/Rewards/pages/RewardsRoot/components/EventItem.tsx +++ b/src/pages/Rewards/pages/RewardsRoot/components/EventItem.tsx @@ -18,8 +18,8 @@ export default function EventItem({ event, onClaim }: Props) { const { palette } = useTheme() return ( - - + + - + diff --git a/src/pages/Rewards/pages/RewardsRoot/components/LevelProgress.tsx b/src/pages/Rewards/pages/RewardsRoot/components/LevelProgress.tsx index 4a9b9312..774f6c9c 100644 --- a/src/pages/Rewards/pages/RewardsRoot/components/LevelProgress.tsx +++ b/src/pages/Rewards/pages/RewardsRoot/components/LevelProgress.tsx @@ -36,13 +36,19 @@ export default function LevelProgress({ balance, ...props }: Props) { - Level {level.rank} - Level {level.rank + 1} ({levels[level.rank]}) + {'Level '} + {level.rank} + + + {'Level '} + {level.rank + 1} + {' ('} + {levels[level.rank]}) diff --git a/src/pages/Rewards/pages/RewardsRoot/components/LimitedEventItem.tsx b/src/pages/Rewards/pages/RewardsRoot/components/LimitedEventItem.tsx index eb08e41a..efb20029 100644 --- a/src/pages/Rewards/pages/RewardsRoot/components/LimitedEventItem.tsx +++ b/src/pages/Rewards/pages/RewardsRoot/components/LimitedEventItem.tsx @@ -19,8 +19,8 @@ export default function LimitedEventItem({ event, onClaim }: Props) { const { palette, spacing } = useTheme() return ( - - + + {event.meta.static.image_url ? ( @@ -60,10 +60,11 @@ export default function LimitedEventItem({ event, onClaim }: Props) { {event.meta.static.short_description} - + - Exp: {formatDateTime(event.meta.static.expires_at!)} + {'Exp: '} + {formatDateTime(event.meta.static.expires_at!)} diff --git a/src/pages/Rewards/pages/RewardsRoot/components/ProgramDetails.tsx b/src/pages/Rewards/pages/RewardsRoot/components/ProgramDetails.tsx index 9687fd54..1e18a990 100644 --- a/src/pages/Rewards/pages/RewardsRoot/components/ProgramDetails.tsx +++ b/src/pages/Rewards/pages/RewardsRoot/components/ProgramDetails.tsx @@ -8,7 +8,7 @@ export default function ProgramDetails() { return ( - + diff --git a/src/pages/Rewards/pages/RewardsRoot/index.tsx b/src/pages/Rewards/pages/RewardsRoot/index.tsx index cffde4bc..35bfaa5c 100644 --- a/src/pages/Rewards/pages/RewardsRoot/index.tsx +++ b/src/pages/Rewards/pages/RewardsRoot/index.tsx @@ -27,7 +27,7 @@ export default function RewardsRoot() { return ( - + {isBalanceActive && (