From c73d95cfbb64914abc8338f685ff675d81e81d46 Mon Sep 17 00:00:00 2001 From: toonlink Date: Wed, 10 Jul 2024 11:27:51 -0400 Subject: [PATCH] fix(registerRoute): update registerRoute not found selector --- src/api/registerRoute.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/registerRoute.js b/src/api/registerRoute.js index bfbded3..bbbbdd8 100644 --- a/src/api/registerRoute.js +++ b/src/api/registerRoute.js @@ -2,7 +2,7 @@ import { ReactiveRoot } from "../ui/components.js"; import intercept from "./intercept.js"; import { observe } from "./observe.js"; -const pageNotFoundSelector = `[class^="contentArea--"] [class^="pageNotFoundError--"]`; +const pageNotFoundSelector = `[class^="pageNotFoundError--"]`; const replacePage = (page, component) => { page.style.display = "none";