Skip to content

Commit

Permalink
fix(registerRoute): update registerRoute not found selector
Browse files Browse the repository at this point in the history
  • Loading branch information
twnlink authored Jul 10, 2024
1 parent f9e2715 commit c73d95c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/registerRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit c73d95c

Please sign in to comment.