Skip to content

Commit

Permalink
Merge pull request #131 from 100-hours-a-week/feature/settlement
Browse files Browse the repository at this point in the history
Feature/settlement
  • Loading branch information
HidenLee authored Oct 1, 2024
2 parents 49789e1 + bf4e38b commit 3c9710f
Show file tree
Hide file tree
Showing 6 changed files with 570 additions and 5 deletions.
2 changes: 1 addition & 1 deletion travelday-fe/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import PrivacyPage from './pages/mainPage/privacyPage';
import ChatPage from './pages/chatPage/chatPage';
import ChatTest from './pages/chatPage/chatTest';
import ChatListPage from './pages/chatPage/chatListPage';
import ExpenseSettlement from './components/schedulePage/settlement';
import ExpenseSettlement from "./components/schedulePage/settlement";

import "./firebase.js";

Expand Down
7 changes: 4 additions & 3 deletions travelday-fe/src/components/schedulePage/scheduleTab.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import ScheduleDetailList from "./scheduleDetailList";
import StickyBox from 'react-sticky-box';
import styled from "styled-components";
import ChatPage from "../../pages/chatPage/chatPage";
import Settlement from "./settlement";
import SettlementList from "./settlementList";
const items = (travelRoomId,startDate,endDate) => [
{
label:"일정 보기",
Expand All @@ -25,7 +25,8 @@ const items = (travelRoomId,startDate,endDate) => [
{
label:"정산 하기",
key:"정산",
children: <Settlement travelRoomId={travelRoomId}/>
children: <SettlementList travelRoomId={travelRoomId}/>

}
]
console.table(items)
Expand Down Expand Up @@ -83,4 +84,4 @@ const StyledTabs = styled(Tabs)`
.ant-tabs-ink-bar {
background: #000000;
}
`;
`;
Loading

0 comments on commit 3c9710f

Please sign in to comment.