Skip to content

Commit

Permalink
design: 학습자료 모달에서 학습자료 다운로드 버튼의 내외부에 cursor 동일하게 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
llddang committed Jan 12, 2025
1 parent 064aaef commit 657964b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/containers/study/DocumentModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,14 @@ const DocumentModal = ({ id, isOpen, setIsDocsModalOpen, setReload }: DocumentMo
// leftIcon={data.type === 'pdf' ? <BiFile size={30} /> : <BsFolder2Open size={30} />}
leftIcon={<BiFile size={30} />}
content={data.url.toString()}
cursor="pointer"
/>
</Link>
))}
{document?.type === 'URL' &&
document.files.map((data) => (
<Link key={data.url} href={data.url} target="_blank" rel="noopener noreferrer">
<IconBox leftIcon={<BiLink size="30" />} content={data.url} />
<IconBox leftIcon={<BiLink size="30" />} content={data.url} cursor="pointer" />
</Link>
))}
</Flex>
Expand Down

0 comments on commit 657964b

Please sign in to comment.