Skip to content

Commit

Permalink
[#23] 적극적 투자지표리스트 컴포넌트
Browse files Browse the repository at this point in the history
  • Loading branch information
03hoho03 committed Apr 7, 2024
1 parent da7c629 commit 1421737
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
'use client'

import React from 'react'
import S from './index.module.css'
import ActiveInvestmentItem from '../ActiveInvestmentItem'
import { useRecoilValue } from 'recoil'
import investmentItemAtom from '@/app/_store/atom'

function ActiveInvestmentList() {
const investmentItem = useRecoilValue(investmentItemAtom)

return (
<div className={S.main}>
{investmentItem.map((item) => {
return <ActiveInvestmentItem key={item.id} item={item} />
})}
</div>
)
}

export default ActiveInvestmentList

0 comments on commit 1421737

Please sign in to comment.