hashgraph / hashgraph/hedera-docs
Redirect to the corresponding language tab is not working
- Dominant language
- MDX
- Stars
- 10
- Forks
- 49
- Avg merge
- 19h 49m
- Merged PRs (30d)
- 17
Description
### Description
We’ve identified an issue when trying to access a specific code block in the documentation. Appending the #tab-java suffix to the URL is supposed to open the Java code snippet, but instead, it incorrectly displays the Go snippet in my case.
### Steps to reproduce
1. Visit: https://docs.hedera.com/hedera/sdks-and-apis/sdks/token-service/token-id
2. Switch between the JavaScript, Java, and Go tabs
3. Open a new browser tab and go directly to: https://docs.hedera.com/hedera/sdks-and-apis/sdks/token-service/token-id#tab-java
I’ve confirmed that the first time you access the URL with a fresh browser (no cache or stored data), the redirection to the correct tab works as expected. However, after refreshing the page a couple of times, it stops working and defaults to the Go tab. It might be related to something stored in localStorage or cookies.
### Additional context
_No response_
### Hedera network
_No response_
### Version
v01.0
### Operating system
macOS
Contributor guide
Assessment
This issue has not been assessed yet.