| @@ -1,14 +1,13 @@ | ||
| 1 | 1 | // routes/template/route.ts |
| 2 | 2 | import { redirect } from "@wordpress/route"; |
| 3 | 3 | var route = { |
| 4 | 4 | beforeLoad: () => { |
| 5 | - const isTemplateActivateEnabled = typeof window !== "undefined" && window.__experimentalTemplateActivate; | |
| 6 | 5 | throw redirect({ |
| 7 | 6 | throw: true, |
| 8 | 7 | to: "/templates/list/$activeView", |
| 9 | 8 | params: { |
| 10 | - activeView: isTemplateActivateEnabled ? "active" : "all" | |
| 9 | + activeView: "all" | |
| 11 | 10 | } |
| 12 | 11 | }); |
| 13 | 12 | } |
| 14 | 13 | }; |