1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix some warning

This commit is contained in:
ivaosthu 2016-11-13 11:51:30 +01:00
parent 7d49ea7587
commit 9b277f29b9
3 changed files with 8 additions and 4 deletions

View File

@ -28,8 +28,12 @@ const Feature = ({
];
const leftActions = [
<Chip><span className={style.yes}>{metricsLastHour.yes}</span> / <span className={style.no}>{metricsLastHour.no}</span></Chip>,
<Chip><span className={style.yes}>{metricsLastMinute.yes}</span> / <span className={style.no}>{metricsLastMinute.no}</span></Chip>,
<Chip key="m.hour">
<span className={style.yes}>{metricsLastHour.yes}</span> / <span className={style.no}>{metricsLastHour.no}</span>
</Chip>,
<Chip key="m.min">
<span className={style.yes}>{metricsLastMinute.yes}</span> / <span className={style.no}>{metricsLastMinute.no}</span>
</Chip>,
<Switch key="left-actions" onChange={() => onFeatureClick(feature)} checked={enabled} />,
];

View File

@ -13,7 +13,7 @@ class Metrics extends Component {
return (
<List>
<ListSubHeader caption={<span>Total of {globalCount} toggles </span>} />
<ListSubHeader caption={`Total of ${globalCount} toggles`} />
<ListDivider />
{clientList.map(({ name, count, ping, appName }, i) =>
<ListItem

View File

@ -35,7 +35,7 @@ export default class UnleashNav extends Component {
</a>
<ListDivider />
<ListItem selectable={false} ripple="false">
<ListItem selectable={false} ripple={false}>
<p>A product by <a href="https://finn.no" target="_blank">FINN.no</a></p>
</ListItem>
</List>