()
| 78 | }; |
| 79 | |
| 80 | const _onRemove = () => { |
| 81 | setRemoveLoading(true); |
| 82 | setRemoveError(false); |
| 83 | dispatch(removeProject({ project_id: project.id })) |
| 84 | .then(() => { |
| 85 | navigate("/"); |
| 86 | }) |
| 87 | .catch(() => { |
| 88 | setRemoveLoading(false); |
| 89 | setRemoveError(true); |
| 90 | }); |
| 91 | }; |
| 92 | |
| 93 | const _onSaveTimezone = (clear) => { |
| 94 | setLoadingTimezone(true); |
nothing calls this directly
no test coverage detected