Closed Jventoo closed 2 years ago
A proposal I have for this problem:
Rather than the Search page having its own route /search
, we can pass the page as a component to the /overview
& /match-history
route if the summoner is not found. This may fix the issue with the logic since it gets rid of the second step in our logic and would simply render the component after the data has finished fetching and noticed that the summoner has not been found.
Implements a search bar that users are directed to when trying to access content without a selected player. Helps alleviate some use cases created by not having user auth.