import React from 'react'; import { connect } from 'react-redux'; import { toggleTroubleshootingMenu, resetLocalViewState, clickDownloadGraph } from '../actions/app-actions'; class DebugMenu extends React.Component { constructor(props, context) { super(props, context); this.handleClickReset = this.handleClickReset.bind(this); } handleClickReset(ev) { ev.preventDefault(); this.props.resetLocalViewState(); } render() { return (

Debugging/Troubleshooting

Save raw data as JSON
Save canvas as SVG (does not include search highlighting)
Reset your local view state and reload the page
Report a bug
); } } export default connect(null, { toggleTroubleshootingMenu, resetLocalViewState, clickDownloadGraph })(DebugMenu);