Skip to content

Commit

Permalink
fix: change icon
Browse files Browse the repository at this point in the history
  • Loading branch information
AmandaTamanda committed Nov 29, 2024
1 parent 0db0de0 commit ecc00af
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/components/RerouteToLogin/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ import React, {
} from 'react';

import {
LoginOutlined
} from '@ant-design/icons';
faRightToBracket
} from '@fortawesome/free-solid-svg-icons';

import {
FontAwesomeIcon
} from '@fortawesome/react-fontawesome';

import {
Button,
Expand Down Expand Up @@ -55,9 +59,12 @@ const RerouteToLogin: React.FC<RerouteToLoginProps> = ({
<Button
type='link'
onClick={onLoginLinkClick}
icon={
<FontAwesomeIcon icon={faRightToBracket} />
}
>
<LoginOutlined />
{rerouteMsg}
<i className="fa-solid fa-right-to-bracket"></i>
</Button>
</Tooltip>
</Flex>
Expand Down

0 comments on commit ecc00af

Please sign in to comment.