Add submit prop to Monitor so it stops complaining

This commit is contained in:
JUDIT GRESKOVITS 2017-02-09 15:07:34 +00:00 committed by Sérgio Ramos
parent c21072ae74
commit 379199534b

View File

@ -44,8 +44,10 @@ const MetricMonitors = (props) => {
)
};
const onSubmit = () => {};
return (
<Monitors {...props}>
<Monitors submit={onSubmit} {...props}>
{views[page]()}
</Monitors>
);