Skip to content

Commit

Permalink
fix(newBlocksFirefox): change test connected in Profile
Browse files Browse the repository at this point in the history
  • Loading branch information
gregoirelacoste authored and lutangar committed Jun 2, 2021
1 parent 088beac commit a2b5867
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/app/profiles/App/Pages/Profiles/Profile/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { useTranslation } from 'react-i18next';
import styled from 'styled-components';
import CenterContainer from 'components/atoms/CenterContainer';
import {
AddToBrowserMessageBox,
ExplainingVideoMessageBox,
PrivacyMessageBox
} from 'components/molecules/SidebarBox';
Expand Down Expand Up @@ -221,9 +220,7 @@ export const Profile = ({
</MainCol>

<Aside>
{connected === false && (
<ExplainingVideoMessageBox contributor={contributor} />
)}
{!connected && <ExplainingVideoMessageBox contributor={contributor} />}
{connected && <PrivacyMessageBox />}

<SimilarProfiles
Expand Down

0 comments on commit a2b5867

Please sign in to comment.