lafkpages / XL-Replit

Extra features for the Replit website.
https://xl-replit.lafkpages.tech
17 stars 8 forks source link

Visiting a profile page and then going back quickly results in data on previous page. #24

Closed transcental closed 1 year ago

transcental commented 1 year ago

Describe the bug Data being shown on the wrong page after quickly switching page.

To Reproduce Steps to reproduce the behavior:

  1. Go to home page
  2. Click on a user
  3. Navigate back
  4. See bug

Expected behavior No data to be displayed on the home page

Suggested Solution Before displaying data, check if the user is still on the correct page.

Screenshots

https://user-images.githubusercontent.com/83948303/231772814-2ae52b99-53cc-4099-8bcc-3dfe610499f5.mov

Desktop (please complete the following information):

Additional context N/A

lafkpages commented 1 year ago

Fixed in #026b7bea76312389753e81933633c07c0ac885c4.