Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// t: loadTest.get('t'),
// result: loadTest.get('result'),
// }
// }
const grafana = state.get("grafana").toJS();
const prometheus = state.get("prometheus").toJS();
const k8sConfig = state.get("k8sConfig").toJS();
const staticPrometheusBoardConfig = state.get("staticPrometheusBoardConfig").toJS();
return {...loadTest, grafana, prometheus, staticPrometheusBoardConfig, k8sConfig};
}
export default withStyles(styles)(connect(
mapStateToProps,
mapDispatchToProps
)(withSnackbar(MesheryPerformanceComponent)));
/>
contact.id === selectedContactId)}
groups={groups}
/>
);
};
export default withSnackbar(Contacts);
/**
* Generate groups from a list of Managed Contacts.
*
* @param contacts: Linode.ManagedContact[]
* A list of contacts to generate groups from.
*/
export const generateGroupsFromContacts = (
contacts: ManagedContact[]
): ManagedContactGroup[] => {
const groups: ManagedContactGroup[] = [];
contacts.forEach(contact => {
// If the contact doesn't have a group, don't do anything. Otherwise we'd have `null` groups.
if (typeof contact.group !== 'string') {
return;
fullWidth
/>
{this.state.error &&
{this.state.errorMsg}
}
<button color="primary" style="{{marginTop:">{strings.SAVE}</button>
}
);
}
}
export default withRouter(withSnackbar(Contact));
const fetchProps = {
[map.fetch]: this.fetch,
[map.inProgress]: inProgress,
[map.showLoader]: inProgress && delayPassed,
};
return (
);
}
}
return withSnackbar(ProgressEventsHandler);
};
owners={owners}
values={values}
ownerAddress={ownerAddress}
ownerName={ownerName}
onClickBack={onClickBack}
onSubmit={onReplaceOwner}
threshold={threshold}
safeAddress={safeAddress}
/>
)}
)
}
export default withStyles(styles)(withSnackbar(ReplaceOwner))
{children}
);
}
export default connectService(
AuthContext, ({publicKey}) => ({publicKey})
)(
checkAuth(
withRouter(
withSnackbar(InitAuthorizedServices)
)
)
);