Skip to content

Commit

Permalink
IssueId #223082 feat: Create Log Out Button in Test-Rig [React]
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinkyapandetekdi committed Jul 12, 2024
1 parent 96114aa commit 18d9bb9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/Assesment/Assesment.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -517,8 +517,8 @@ export const ProfileHeader = ({
</Box>
</Box>
</Box>
<CustomTooltip title="Logout">
{process.env.REACT_APP_IS_IN_APP_AUTHORISATION === "true" && (
{process.env.REACT_APP_IS_IN_APP_AUTHORISATION === "true" && (
<CustomTooltip title="Logout">
<Box>
<CustomIconButton onClick={handleLogout}>
<img
Expand All @@ -529,8 +529,8 @@ export const ProfileHeader = ({
/>
</CustomIconButton>
</Box>
)}
</CustomTooltip>
</CustomTooltip>
)}
</Box>
</Box>
</>
Expand Down

0 comments on commit 18d9bb9

Please sign in to comment.