Skip to content

Commit

Permalink
feat : add statistics/index.js (#83)
Browse files Browse the repository at this point in the history
통계 API 페이지 추가
  • Loading branch information
JungYeonHwi committed Oct 18, 2023
1 parent 9d14d62 commit 7c76c2b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions pages/statistics/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import Router, { useRouter } from 'next/router';

import DailyProfit from '@components/organisms/dailyProfit';
import DailyRevenue from '@components/organisms/dailyRevenue';
import MonthlyProfit from '@components/organisms/monthlyProfit';
import WeekItem from '@components/organisms/weekItem';

const Statistics = () => {

const router = useRouter();
const id = router.query.id;

return (
<>
<DailyProfit id={id} />
<DailyRevenue id={id} />
<MonthlyProfit id={id} />
<WeekItem id={id} />
</>
)
}

export default Statistics

0 comments on commit 7c76c2b

Please sign in to comment.