Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislaw-zakrzewski committed Oct 22, 2024
1 parent c9b336a commit e950071
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ export default function App(): JSX.Element {
)
return;

dispatch(setSearchQuery(decodeURIComponent(location.search)));

// Save searchQuery to local storage not to lost it when user goes through auth process
localStorage.setItem('searchQuery', location.search);
Expand Down

0 comments on commit e950071

Please sign in to comment.