zero-to-nix icon indicating copy to clipboard operation
zero-to-nix copied to clipboard

(dev only) Clicking Related Concepts confuses the page title

Open Hoverbear opened this issue 2 years ago • 3 comments
trafficstars

It's possible to get the "Concepts" pages confused and displaying the wrong title for the page.

Here I am navigating to /concepts/nix-language then choosing other "Related" options and observing how the title does not change:

https://user-images.githubusercontent.com/130903/207710239-225ccbfa-7ad9-4b4f-925b-5a775db9dba0.mp4

Hoverbear avatar Dec 14 '22 20:12 Hoverbear

Fortunately, this only happens when running the site locally in live reload mode, and not in the built site. I'm not quite sure why this happens but I suspect it's something related to hydration. I'll look into it.

lucperkins avatar Dec 14 '22 20:12 lucperkins

Ahhh okay, if it's only in dev mode I don't think it's a big deal.

Hoverbear avatar Dec 14 '22 21:12 Hoverbear

Not a huge deal but worth fixing because it makes me do a lot of double takes heh

lucperkins avatar Dec 14 '22 21:12 lucperkins