diff --git a/.github/ISSUE_TEMPLATE/external_bug_report.md b/.github/ISSUE_TEMPLATE/external_bug_report.md new file mode 100644 index 0000000000000..1e82a3be55fc5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/external_bug_report.md @@ -0,0 +1,9 @@ + + +## Expected Behavior + + + +## Current Behavior + + diff --git a/site/src/components/AuthAndFrame/AuthAndFrame.tsx b/site/src/components/AuthAndFrame/AuthAndFrame.tsx index 180e9784590f6..2473ef6472b6b 100644 --- a/site/src/components/AuthAndFrame/AuthAndFrame.tsx +++ b/site/src/components/AuthAndFrame/AuthAndFrame.tsx @@ -1,4 +1,7 @@ -import { FC } from "react" +import { makeStyles } from "@material-ui/core/styles" +import { useActor } from "@xstate/react" +import { FC, useContext } from "react" +import { XServiceContext } from "../../xServices/StateContext" import { Footer } from "../Footer/Footer" import { Navbar } from "../Navbar/Navbar" import { RequireAuth } from "../RequireAuth/RequireAuth" @@ -10,12 +13,30 @@ interface AuthAndFrameProps { /** * Wraps page in RequireAuth and renders it between Navbar and Footer */ -export const AuthAndFrame: FC = ({ children }) => ( - - <> - - {children} -