|
@@ -16,9 +16,6 @@ ShareProjectContext.Provider.propTypes = {
|
|
|
isAdmin: PropTypes.bool.isRequired,
|
|
isAdmin: PropTypes.bool.isRequired,
|
|
|
updateProject: PropTypes.func.isRequired,
|
|
updateProject: PropTypes.func.isRequired,
|
|
|
monitorRequest: PropTypes.func.isRequired,
|
|
monitorRequest: PropTypes.func.isRequired,
|
|
|
- eventTracking: PropTypes.shape({
|
|
|
|
|
- sendMB: PropTypes.func.isRequired,
|
|
|
|
|
- }),
|
|
|
|
|
inFlight: PropTypes.bool,
|
|
inFlight: PropTypes.bool,
|
|
|
setInFlight: PropTypes.func,
|
|
setInFlight: PropTypes.func,
|
|
|
error: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
error: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
@@ -87,7 +84,6 @@ export default function ShareProjectModal({
|
|
|
show,
|
|
show,
|
|
|
animation = true,
|
|
animation = true,
|
|
|
isAdmin,
|
|
isAdmin,
|
|
|
- eventTracking,
|
|
|
|
|
ide,
|
|
ide,
|
|
|
}) {
|
|
}) {
|
|
|
const [inFlight, setInFlight] = useState(false)
|
|
const [inFlight, setInFlight] = useState(false)
|
|
@@ -148,7 +144,6 @@ export default function ShareProjectModal({
|
|
|
value={{
|
|
value={{
|
|
|
isAdmin,
|
|
isAdmin,
|
|
|
updateProject,
|
|
updateProject,
|
|
|
- eventTracking,
|
|
|
|
|
monitorRequest,
|
|
monitorRequest,
|
|
|
inFlight,
|
|
inFlight,
|
|
|
setInFlight,
|
|
setInFlight,
|
|
@@ -176,7 +171,4 @@ ShareProjectModal.propTypes = {
|
|
|
$scope: PropTypes.object.isRequired,
|
|
$scope: PropTypes.object.isRequired,
|
|
|
}).isRequired,
|
|
}).isRequired,
|
|
|
show: PropTypes.bool.isRequired,
|
|
show: PropTypes.bool.isRequired,
|
|
|
- eventTracking: PropTypes.shape({
|
|
|
|
|
- sendMB: PropTypes.func.isRequired,
|
|
|
|
|
- }),
|
|
|
|
|
}
|
|
}
|