the redux store contains upload URLs to present, and to use to save a new or update an existing closure. when navigating within the app (specifically when src/App.tsx is mounted in the case where there needs to be a new closure created https://github.com/sharedstreets/sharedstreets-road-closure-ui/blob/master/src/App.tsx#L60), the state was not getting reset appropriately, causing a just-used URL to be reused.
this change returns the default state in the ROAD_CLOSURE/RESET_ROAD_CLOSURE action
the redux store contains upload URLs to present, and to use to save a new or update an existing closure. when navigating within the app (specifically when
src/App.tsx
is mounted in the case where there needs to be a new closure created https://github.com/sharedstreets/sharedstreets-road-closure-ui/blob/master/src/App.tsx#L60), the state was not getting reset appropriately, causing a just-used URL to be reused.this change returns the default state in the
ROAD_CLOSURE/RESET_ROAD_CLOSURE
action