Skip to content

Commit

Permalink
docs(trip-basics-pane.js): add note of caveat of using Prompt component
Browse files Browse the repository at this point in the history
  • Loading branch information
miles-grant-ibigroup committed Jul 7, 2021
1 parent 7eb7b8d commit 01d34e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/components/user/monitored-trip/trip-basics-pane.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ class TripBasicsPane extends Component {

return (
<div>
{/* TODO: This component does not block navigation on reload or using the back button.
This will have to be done at a higher level. See #376 */}
<Prompt
when={unsavedChanges}
message={unsavedChangesMessage}
Expand Down

0 comments on commit 01d34e1

Please sign in to comment.