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:
parent
7d49ea7587
commit
9b277f29b9
@ -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} />,
|
||||
];
|
||||
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user