mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-23 13:46:45 +02:00
fix some warning
This commit is contained in:
parent
7d49ea7587
commit
9b277f29b9
@ -28,8 +28,12 @@ const Feature = ({
|
|||||||
];
|
];
|
||||||
|
|
||||||
const leftActions = [
|
const leftActions = [
|
||||||
<Chip><span className={style.yes}>{metricsLastHour.yes}</span> / <span className={style.no}>{metricsLastHour.no}</span></Chip>,
|
<Chip key="m.hour">
|
||||||
<Chip><span className={style.yes}>{metricsLastMinute.yes}</span> / <span className={style.no}>{metricsLastMinute.no}</span></Chip>,
|
<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} />,
|
<Switch key="left-actions" onChange={() => onFeatureClick(feature)} checked={enabled} />,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ class Metrics extends Component {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<List>
|
<List>
|
||||||
<ListSubHeader caption={<span>Total of {globalCount} toggles </span>} />
|
<ListSubHeader caption={`Total of ${globalCount} toggles`} />
|
||||||
<ListDivider />
|
<ListDivider />
|
||||||
{clientList.map(({ name, count, ping, appName }, i) =>
|
{clientList.map(({ name, count, ping, appName }, i) =>
|
||||||
<ListItem
|
<ListItem
|
||||||
|
@ -35,7 +35,7 @@ export default class UnleashNav extends Component {
|
|||||||
</a>
|
</a>
|
||||||
|
|
||||||
<ListDivider />
|
<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>
|
<p>A product by <a href="https://finn.no" target="_blank">FINN.no</a></p>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
</List>
|
</List>
|
||||||
|
Loading…
Reference in New Issue
Block a user