diff --git a/src/sigpro.js b/src/sigpro.js index 87f192e..f794b52 100644 --- a/src/sigpro.js +++ b/src/sigpro.js @@ -370,7 +370,7 @@ const For = (source, renderFn, keyFn, tag = "div", props = { style: "display:con const Router = (routes) => { const currentPath = $(window.location.hash.replace(/^#/, "") || "/"); window.addEventListener("hashchange", () => currentPath(window.location.hash.replace(/^#/, "") || "/")); - const outlet = Tag("div", { class: "router-outlet" }); + const outlet = Tag("div", { class: "router-transition" }); let currentView = null; Watch([currentPath], async () => {