From 88c142952de78ccb55b3db89378d3f768c8ebfce Mon Sep 17 00:00:00 2001 From: Redbull Deployer Date: Sun, 1 Mar 2026 19:19:26 -0600 Subject: [PATCH] fix: destructure notify from useNotify to resolve compilation error in JobCard --- frontend/src/components/job-card.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/job-card.tsx b/frontend/src/components/job-card.tsx index 267d698..74104cc 100644 --- a/frontend/src/components/job-card.tsx +++ b/frontend/src/components/job-card.tsx @@ -46,6 +46,7 @@ interface JobCardProps { export function JobCard({ job, isApplied, applicationStatus }: JobCardProps) { const { t } = useTranslation(); const { user } = useAuth(); + const { notify } = useNotify(); const handleShare = (platform: string) => { const url = typeof window !== "undefined" ? `${window.location.origin}/jobs/${job.id}` : `https://local.gohorsejobs.com/jobs/${job.id}`; const text = `Confira esta vaga: ${job.title} na ${job.company}`;