Skip to content

Commit

Permalink
refactor: changes typos
Browse files Browse the repository at this point in the history
  • Loading branch information
geolffreym committed Jan 1, 2025
1 parent d4cb969 commit 1c5b383
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/should-login/should-login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const NotLoggedIn: FC<Props> = ({icon, subtitle} ) => {
mb: 2,
color: COLORS.GRAY_LIGHT,
}} />
<Typography variant="h4">Sign in required</Typography>
<Typography variant="h4">Finance Dashboard</Typography>
<Typography variant="body1" sx={{mb:3, mt: 1, opacity: 0.5}}>
{subtitle}
</Typography>
Expand All @@ -57,7 +57,7 @@ const NotLoggedIn: FC<Props> = ({icon, subtitle} ) => {
backgroundColor: COLORS.GRAY_DARK,
}
}}>
Sign in now
Access now
</Button>
</Box>
);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/dashboard/finance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Header from "@src/layouts/dashboard/header.tsx";
import HeaderContent from "@src/layouts/dashboard/header-content.tsx";
import withAuth from '@src/components/should-login/withAuth';

const OverviewBankingViewWithAuth = withAuth(OverviewBankingView, 'iconoir:stats-report', 'You need to log in to access this page');
const OverviewBankingViewWithAuth = withAuth(OverviewBankingView, 'iconoir:stats-report', 'Log in to access your balance, transfers, and more.');

export default function OverviewBankingPage() {
return (
Expand Down

0 comments on commit 1c5b383

Please sign in to comment.