Skip to content

Commit

Permalink
add to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedselhady committed Aug 25, 2024
1 parent 05bf1cf commit 4074aaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
"preview": "vite preview"
},
"dependencies": {
"@fortawesome/free-brands-svg-icons": "^6.6.0",
"@fortawesome/react-fontawesome": "^0.2.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-social-icons": "^6.17.0"
Expand Down
6 changes: 2 additions & 4 deletions src/components/details-card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ import {
faGithub,
faXTwitter,
faInstagram,
faReadme,
faUpwork,
faWpbeginner
faReadme
} from "@fortawesome/free-brands-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";

Expand Down Expand Up @@ -141,7 +139,7 @@ const DetailsCard = ({ profile, loading, social, github }: Props) => {
)}
{social?.instagram && (
<ListItem
icon={<FontAwesomeIcon icon={faInstagram} size="4x" style={{ color: '#e57b1d' }} />}
icon={<FontAwesomeIcon icon={faInstagram } size="4x" style={{ color: '#e57b1d' }} />}
title=""
value=""
link={`https://www.instagram.com/${social.instagram}`}
Expand Down

0 comments on commit 4074aaa

Please sign in to comment.