mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 07:08:10 +00:00
refactor flow menu
This commit is contained in:
parent
779e5e84e3
commit
dbec2e0940
@ -8,10 +8,14 @@ FlowMenu.title = 'Flow'
|
||||
|
||||
FlowMenu.propTypes = {
|
||||
flow: PropTypes.object.isRequired,
|
||||
acceptFlow: PropTypes.func.isRequired,
|
||||
replayFlow: PropTypes.func.isRequired,
|
||||
duplicateFlow: PropTypes.func.isRequired,
|
||||
removeFlow: PropTypes.func.isRequired,
|
||||
revertFlow: PropTypes.func.isRequired
|
||||
}
|
||||
|
||||
function FlowMenu({ flow, acceptFlow, replayFlow, duplicateFlow, removeFlow, revertFlow }) {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className="menu-row">
|
||||
|
Loading…
Reference in New Issue
Block a user