Skip to content

Commit

Permalink
fix: main페이지 초기화
Browse files Browse the repository at this point in the history
  • Loading branch information
colorkite10 committed Oct 26, 2023
1 parent 708d13d commit 6011b28
Showing 1 changed file with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions src/pages/MainPage.tsx
Original file line number Diff line number Diff line change
@@ -1,34 +1,5 @@
import Header from '@/components/common/Header/Header';
import Tab from '@/components/common/Tab/Tab';
import { TAB_CONSTANTS } from '@/constants/tab';
import { TabContextProvider } from '@/context/TabContext';

const MainPage = () => {
return (
<TabContextProvider>
<Header style={{ justifyContent: 'end' }}>
<Tab
active={`${TAB_CONSTANTS.PERFORMANCE}`}
maxWidth="13"
defaultTab={`${TAB_CONSTANTS.PERFORMANCE}`}
tabItems={[
{
title: `${TAB_CONSTANTS.PERFORMANCE}`,
width: '3',
},
{
title: `${TAB_CONSTANTS.EVENT_SHOW}`,
width: '3',
},
{
title: `${TAB_CONSTANTS.RECRUITMENT}`,
width: '4',
},
]}
/>
</Header>
</TabContextProvider>
);
return <div>main</div>;
};

export default MainPage;

0 comments on commit 6011b28

Please sign in to comment.