11import { useNavigate } from "react-router-dom"
2- import { Check , GitCommit , Path , LinktreeLogo } from "@phosphor-icons/react"
2+ import {
3+ CheckIcon ,
4+ GitCommitIcon ,
5+ PathIcon ,
6+ LinktreeLogoIcon ,
7+ } from "@phosphor-icons/react"
38import { Button , Modal } from "antd"
49import { useAppStore } from "../../../store"
510import { EntitySavedModalProps } from "../../../types"
@@ -23,11 +28,11 @@ const EntitySavedModal: React.FC<EntitySavedModalProps> = ({
2328 < div className = "flex flex-col items-center justify-center gap-4 py-4" >
2429 < div className = "rounded-xl bg-neutral-light p-2" >
2530 { type === "source" ? (
26- < LinktreeLogo className = "z-10 size-5 text-text-link" />
31+ < LinktreeLogoIcon className = "z-10 size-5 text-text-link" />
2732 ) : type === JOB_CREATION_STEPS . STREAMS ? (
28- < GitCommit className = "z-10 size-5 text-text-link" />
33+ < GitCommitIcon className = "z-10 size-5 text-text-link" />
2934 ) : (
30- < Path className = "z-10 size-5 text-text-link" />
35+ < PathIcon className = "z-10 size-5 text-text-link" />
3136 ) }
3237 </ div >
3338 < div className = "mb-4 text-center text-xl font-medium" >
@@ -40,11 +45,11 @@ const EntitySavedModal: React.FC<EntitySavedModalProps> = ({
4045 < div className = "mb-4 flex w-full items-center justify-between gap-3 rounded-xl border border-[#D9D9D9] px-4 py-2" >
4146 < div className = "flex items-center gap-1" >
4247 { type === "source" ? (
43- < LinktreeLogo className = "size-5" />
48+ < LinktreeLogoIcon className = "size-5" />
4449 ) : type === JOB_CREATION_STEPS . STREAMS ? (
45- < GitCommit className = "size-5" />
50+ < GitCommitIcon className = "size-5" />
4651 ) : (
47- < Path className = "size-5" />
52+ < PathIcon className = "size-5" />
4853 ) }
4954 < span >
5055 { entityName ||
@@ -56,7 +61,7 @@ const EntitySavedModal: React.FC<EntitySavedModalProps> = ({
5661 </ span >
5762 </ div >
5863 < div className = "flex gap-1 rounded-xl bg-[#f6ffed] px-2 py-1" >
59- < Check className = "size-5 text-success" />
64+ < CheckIcon className = "size-5 text-success" />
6065 < span className = "ml-auto text-success" > Success</ span >
6166 </ div >
6267 </ div >
0 commit comments