rn-tourguide
rn-tourguide copied to clipboard
"undefined is not an object" when tour has ended
https://github.com/xcarpentier/rn-tourguide/blob/72ae702217f311d5d5fbf0323e63022b383ba30b/src/components/Modal.tsx#L196
currentStep!
is the culprit. It is undefined at that moment and should be better currentStep?.tooltipBottomOffset
The question is, why the code is executed after the tour has finished.