netlify checks

This commit is contained in:
wil committed 2024-02-07 23:11:21 -05:00
1 parent 8d98408b37
commit ef6345a824
1 file changed
+1 -1
@@ -16,7 +16,7 @@ export default function SubRoutes ({
const { path } = useRouteMatch();
const history = useHistory();
history.listen(({pathname}, action) => {
if (pathname === path || pathname.match(/upload|select-media/g) && pageState.status >= states.FILE_LOADING){
if ((pathname === path || pathname.match(/upload|select-media/g)) && pageState.status >= states.FILE_LOADING){
//reset page if landed on page "Freshly"
dispatchPageState({type: 'reset'})
}