diff --git a/site/src/pages/index.tsx b/site/src/pages/index.tsx index 1a7e21fedb..dd0c84db1c 100644 --- a/site/src/pages/index.tsx +++ b/site/src/pages/index.tsx @@ -1,6 +1,13 @@ import { FC } from "react" -import { Navigate } from "react-router-dom" +import { Navigate, useSearchParams } from "react-router-dom" export const IndexPage: FC = () => { + const [searchParams, _] = useSearchParams() + const template = searchParams.get("template") + + if (template) { + return + } + return }