Skip to content

Commit

Permalink
Fix les boutons sans url sur la page programme
Browse files Browse the repository at this point in the history
  • Loading branch information
mariheck committed Dec 16, 2024
1 parent d7f3dd9 commit 0a9075f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/site/app/programme/[uid]/InfoService.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const InfoService = ({ titre, boutons }: InfoData) => {
? boutons.map((b) => (
<Button
key={b.label}
href={b.url}
href={b.url ?? undefined}
variant="white"
disabled={!b.url}
external={b.url?.startsWith('http')}
Expand Down

0 comments on commit 0a9075f

Please sign in to comment.