Skip to content

Commit 63dc985

Browse files
committed
Use auth render
1 parent 8cc227f commit 63dc985

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

site/src/app.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ import { ErrorBoundary } from "./components/ErrorBoundary/ErrorBoundary"
99
import { GlobalSnackbar } from "./components/GlobalSnackbar/GlobalSnackbar"
1010
import { dark } from "./theme"
1111
import "./theme/globalFonts"
12-
import { ProxyProvider } from "contexts/ProxyContext"
13-
import { DashboardProvider } from "components/Dashboard/DashboardProvider"
1412

1513
const queryClient = new QueryClient({
1614
defaultOptions: {

site/src/pages/TerminalPage/TerminalPage.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Route, Routes } from "react-router-dom"
66
import { MockWorkspace, MockWorkspaceAgent } from "testHelpers/entities"
77
import { TextDecoder, TextEncoder } from "util"
88
import { ReconnectingPTYRequest } from "../../api/types"
9-
import { history, render } from "../../testHelpers/renderHelpers"
9+
import { history, renderWithAuth } from "../../testHelpers/renderHelpers"
1010
import { server } from "../../testHelpers/server"
1111
import TerminalPage, { Language } from "./TerminalPage"
1212

@@ -29,7 +29,7 @@ Object.defineProperty(window, "TextEncoder", {
2929
})
3030

3131
const renderTerminal = () => {
32-
return render(
32+
return renderWithAuth(
3333
<Routes>
3434
<Route
3535
path="/:username/:workspace/terminal"

0 commit comments

Comments
 (0)