-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix fetching map on mission page #1937
Conversation
Closes #1936 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I trust that it has been tested
@@ -48,16 +49,32 @@ export const MissionMapView = ({ mission }: MissionProps) => { | |||
|
|||
const imageObjectURL = useRef<string>('') | |||
|
|||
const FetchMapInfo = (mission: Mission) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const FetchMapInfo = (mission: Mission) => { | |
const fetchMapInfo = (mission: Mission) => { |
retryDelay: 60 * 1000, | ||
staleTime: 60 * 1000, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These things should probably be abstracted away, but no need to do it in this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGMT :)
5b5a838
to
72ba7f1
Compare
72ba7f1
to
cf16441
Compare
Ready for review checklist: