fix: destructure notify from useNotify to resolve compilation error in JobCard

This commit is contained in:
Redbull Deployer 2026-03-01 19:19:26 -06:00
parent f9994a48ae
commit 88c142952d

View file

@ -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}`;