mirror of
https://github.com/weaveworks/scope.git
synced 2026-05-07 09:48:27 +00:00
Do not mix immutablejs with plain array functions
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import React from 'react';
|
||||
import { List as makeList } from 'immutable';
|
||||
|
||||
import ShowMore from '../show-more';
|
||||
import NodeDetailsHealthOverflow from './node-details-health-overflow';
|
||||
@@ -22,7 +21,7 @@ export default class NodeDetailsHealth extends React.Component {
|
||||
|
||||
render() {
|
||||
const {
|
||||
metrics = makeList(),
|
||||
metrics = [],
|
||||
topologyId,
|
||||
} = this.props;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user