Skip to content

Commit

Permalink
[Feat] 브랜치 병합
Browse files Browse the repository at this point in the history
- Tap 페이지관련 변경사항 발생으로 인한 브랜치 병합

Issues #14
  • Loading branch information
novice1993 committed Sep 7, 2023
2 parents a2a6cb7 + 84e7f4b commit 113ae9c
Show file tree
Hide file tree
Showing 13 changed files with 536 additions and 64 deletions.
222 changes: 222 additions & 0 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"dependencies": {
"@reduxjs/toolkit": "^1.9.5",
"axios": "^1.5.0",
"boxicons": "^2.1.4",
"echarts": "^5.4.3",
"echarts-for-react": "^3.0.2",
"react": "^18.2.0",
Expand Down
23 changes: 15 additions & 8 deletions client/src/components/MarketComponents/MarketStockList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,20 @@ const MarketStockList: React.FC = () => {
return (
<div>
<StockListTitle>
<StockListDetail>#종목명</StockListDetail>
<StockListDetail>#현재가</StockListDetail>
<StockListDetail>#변동률</StockListDetail>
<StockListDetail>#거래량</StockListDetail>
<StockListDetail onClick={SortName}>
{MarketStockLists.stockName}
</StockListDetail>
<StockListDetail>{MarketStockLists.stockPrice}</StockListDetail>
<StockListDetail>{MarketStockLists.stockRate}</StockListDetail>
<StockListDetail>{MarketStockLists.stockTrade}</StockListDetail>
</StockListTitle>

{marketStockList.map((el) => (
<div>
{isLoading === true ? (
<div>isLoading...</div>
<div>{MarketStockLists.isLoading}</div>
) : (
<StockName onClick={SortName} key={el.korName}>
{el.korName}
</StockName>
<StockName key={el.korName}>{el.korName}</StockName>
)}
<StockCode key={el.code}>{el.code}</StockCode>
<br />
Expand All @@ -59,6 +59,13 @@ const MarketStockList: React.FC = () => {

export default MarketStockList;

const MarketStockLists = {
stockName: "#종목명",
stockPrice: "#현재가",
stockRate: "#변동률",
stockTrade: "#거래량",
isLoading: "isLoading...",
};
const StockListTitle = styled.div`
display: flex;
justify-content: space-around;
Expand Down
Loading

0 comments on commit 113ae9c

Please sign in to comment.