Skip to content

Commit

Permalink
Disable Rapid Editor loading spinner (#2497)
Browse files Browse the repository at this point in the history
(it's currently broken, cause unknown)
  • Loading branch information
jake-low authored Nov 15, 2024
1 parent 9397a2c commit 141eb3e
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,14 @@ const RapidEditor = ({ token, task, mapBounds, comment }) => {
>
<FormattedMessage {...messages.reselectTask} />
</button>
{isLoading && (
{/* FIXME: disabled because setupRapid() is taking an absurdly long time (>60s)
* to complete all of a sudden, even though the editor appears to have loaded and
* be ready to use.
isLoading && (
<div style={{ position: 'absolute', top: 0, left: 0, width: '100%', height: '100%', display: 'flex', justifyContent: 'center', alignItems: 'center', zIndex: 1000 }}>
<BusySpinner xlarge />
</div>
)}
) */}
{error && (
<div>Error: {error.message}</div>
)}
Expand Down

0 comments on commit 141eb3e

Please sign in to comment.