Skip to content

Commit

Permalink
Nova correção para Ipad
Browse files Browse the repository at this point in the history
  • Loading branch information
WillRy committed Dec 8, 2024
1 parent 12ef005 commit 2f8d9c2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions apps/web/app/components/ui/JobCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ const JobCard = ({ job, skillsFromProps }) => {
}, [job.salary])

const handleRedirect = useCallback((linkUrl: string) => {
const a = document.createElement("a");
a.setAttribute('href', linkUrl);
a.setAttribute('target', '_blank');
a.click();
setTimeout(() => {
const a = document.createElement("a");
a.setAttribute('href', linkUrl);
a.setAttribute('target', '_blank');
a.click();
})
}, []);

const handleClick = useCallback(
Expand Down

0 comments on commit 2f8d9c2

Please sign in to comment.