Remove /graphs from demo routes

This commit is contained in:
wiz
2024-10-25 14:45:45 +09:00
committed by GitHub
parent 99cc47cf00
commit 57299e086e

View File

@@ -239,7 +239,7 @@ export function handleDemoRedirect(route: ActivatedRoute, router: Router) {
route.queryParams
.subscribe(params => {
if (params.next) {
const path = ['/', '/acceleration', '/mining', '/lightning', '/graphs'];
const path = ['/', '/acceleration', '/mining', '/lightning'];
const index = path.indexOf(params.next);
if (index >= 0) {
const nextPath = path[(index + 1) % path.length];