Skip to content

Commit 74211bb

Browse files
committed
Fix in preferences layout
1 parent 2e0a650 commit 74211bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

site/src/components/Preferences/Layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Box from "@material-ui/core/Box"
22
import React from "react"
33
import { Outlet } from "react-router-dom"
4-
import { AuthAndNav } from "../Page"
4+
import { AuthAndFrame } from "../AuthAndFrame/AuthAndFrame"
55
import { TabPanel } from "../TabPanel"
66

77
export const Language = {
@@ -21,14 +21,14 @@ const menuItems = [
2121

2222
export const PreferencesLayout: React.FC = () => {
2323
return (
24-
<AuthAndNav>
24+
<AuthAndFrame>
2525
<Box display="flex" flexDirection="column">
2626
<Box style={{ maxWidth: "1380px", margin: "1em auto" }}>
2727
<TabPanel title={Language.preferencesLabel} menuItems={menuItems}>
2828
<Outlet />
2929
</TabPanel>
3030
</Box>
3131
</Box>
32-
</AuthAndNav>
32+
</AuthAndFrame>
3333
)
3434
}

0 commit comments

Comments
 (0)