#1714·typehero

[Bug]: Clicking on an Advent of TS solution in a profile doesn't redirect properly

Author: DimitarNestorovCreated Dec 23, 2024Updated Sep 6, 2026
Labelsbugtriage

What happened?

In my profile I have shared the solution for a one of the days in AOT 23: https://typehero.dev/@DimitarNestorov/shared-solutions Clicking on that solution gets me to https://www.adventofts.com/ homepage. I was expecting it goes to https://www.adventofts.com/events/2023/6/solutions/2924

Seems like there's no logic to redirect to AOT solutions, only homepage. But it doesn't make sense to have them appear in the profile in that case. https://github.com/typehero/typehero/blob/88492c2f9f119f563528ebef033ab7120b641f1d/apps/web/src/app/challenge/%5Bslug%5D/layout.tsx#L19-L20

What browsers are you seeing the problem on?

Chrome, Safari

Relevant log output

No response