chore: cleanup - Remove WithLayout HoC itself (#19490)

* remove future folder

* remove unused file

* remove unused files
This commit is contained in:
Benny Joo authored and GitHub committed 2025-02-24 08:38:47 -05:00
1 parent 64aa19fcea
commit a47cd5b106
10 files changed
-171

No files matched your search

-3
View File
@@ -31,9 +31,6 @@ const only = searchParams.get("only");
const colorScheme = searchParams.get("color-scheme");
const prerender = searchParams.get("prerender");
// @ts-expect-error We haven't defined ENABLE_FUTURE_ROUTES as it is a playground specific variable.
window.ENABLE_FUTURE_ROUTES = searchParams.get("future-routes") === "true";
if (colorScheme) {
document.documentElement.style.colorScheme = colorScheme;
}
-6
View File
@@ -297,12 +297,6 @@ export class Cal {
urlInstance.pathname = `${urlInstance.pathname}/embed`;
}
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
if (window.ENABLE_FUTURE_ROUTES) {
urlInstance.pathname = `/future${urlInstance.pathname}`;
}
urlInstance.searchParams.set("embed", this.namespace);
if (embedConfig.debug) {