Commit 3afcdfae authored by tom's avatar tom

nav rename

parent a84fd0f2
......@@ -2,7 +2,7 @@ import React from 'react';
import { Flex, Link } from '@chakra-ui/react';
import NextLink from 'next/link';
const Nav = () => {
const AccountNav = () => {
return (
<Flex
w="250px"
......@@ -15,4 +15,4 @@ const Nav = () => {
)
}
export default Nav;
export default AccountNav;
import React from 'react';
import { Box, HStack } from '@chakra-ui/react';
import Nav from '../Nav/Nav';
import AccountNav from '../AccountNav/AccountNav';
interface Props {
children: React.ReactNode;
......@@ -17,7 +17,7 @@ const Page = ({ children }: Props) => {
spacing="12"
alignItems="stretch"
>
<Nav/>
<AccountNav/>
<Box borderRadius="10px" w="100%" overflow="hidden">{ children }</Box>
</HStack>
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment