fix: dont auth on empty plan query (#4231)

This commit is contained in:
Cal H.
2025-08-19 21:53:36 +01:00
committed by GitHub
parent 328500d381
commit b8bc2c4cb6

View File

@@ -940,7 +940,9 @@ const planQuery = async () => {
const planElement = document.querySelector(`[nav-hash="plan"]`)
if (planElement) {
planElement.scrollIntoView({ behavior: 'smooth' })
await selectProduct(route.query.plan)
if (route.query.plan !== null) {
await selectProduct(route.query.plan)
}
}
}
}