From 09f453becab16a371c470ead6f34d3ca7f17ce97 Mon Sep 17 00:00:00 2001 From: LieutenantRoger Date: Sat, 24 Jul 2021 12:20:07 +0800 Subject: [PATCH] fix: reset gig bucket --- src/App.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/App.jsx b/src/App.jsx index 0ab5705..c50708b 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -87,6 +87,8 @@ const App = () => { useEffect(() => { if (location.pathname === "/earn/my-gigs" && isLoggedIn) { if (!location.search) { + store.dispatch(actions.filter.updateGigFilter(initialGigFilter)); + store.dispatch( actions.myGigs.getMyGigs( constants.GIGS_FILTER_STATUSES_PARAM[initialGigFilter.status]