diff --git a/boost-app/src/features/play/scoreSheet.js b/boost-app/src/features/play/scoreSheet.js index e5df4108b806597a23f2d13daeb636bc75f53b0e..97f594c17893a4e7558bc94ff0b330f44f3011d6 100644 --- a/boost-app/src/features/play/scoreSheet.js +++ b/boost-app/src/features/play/scoreSheet.js @@ -42,17 +42,22 @@ function Move(props) { treeName: props.treeName, position: props.position, })); - const makingMainline = () => + const makingMainline = () => { dispatch(makeMainLine({ treeName: props.treeName, positionIdentity: props.position, })); + history.goBack(); + }; - const deletingLine = () => + const deletingLine = () => { dispatch(deleteLine({ treeName: props.treeName, positionIdentity: props.position, })); + history.goBack(); + }; + const exitModal = () => { history.goBack(); };