Skip to content

Commit

Permalink
handle the ad icon topic in a different pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Jul 2, 2019
1 parent f9a9e51 commit f2b702f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docs/src/modules/components/Ad.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/* eslint-disable material-ui/no-hardcoded-labels */

import React from 'react';
import PropTypes from 'prop-types';
import { useSelector } from 'react-redux';
import { withStyles } from '@material-ui/core/styles';
import Typography from '@material-ui/core/Typography';
import Tooltip from '@material-ui/core/Tooltip';
import Paper from '@material-ui/core/Paper';
import InfoIcon from '@material-ui/icons/InfoOutlined';
import AdCodeFund from 'docs/src/modules/components/AdCodeFund';
import AdCarbon from 'docs/src/modules/components/AdCarbon';

Expand All @@ -24,8 +23,6 @@ const styles = theme => ({
cursor: 'default',
bottom: 0,
right: 0,
...theme.typography.caption,
padding: theme.spacing(1),
},
paper: {
padding: theme.spacing(1),
Expand Down Expand Up @@ -104,7 +101,7 @@ function Ad(props) {
{adblock === true ? getAdblock(classes, t) : null}
{adblock === false ? (
<Tooltip id="ad-info" title={t('adTitle')} placement="left">
<span className={classes.info}>i</span>
<InfoIcon className={classes.info} />
</Tooltip>
) : null}
</span>
Expand Down

0 comments on commit f2b702f

Please sign in to comment.