Skip to content

Commit

Permalink
Update wording
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-kl1 committed Feb 2, 2025
1 parent 14a41d0 commit cf71c6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/locales/fr/sponsors.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"submitUrl": null,
"seeAllUrl": "/sponsors"
},
"data": [
"partners": [
{
"type": "platinum",
"name": "Adobe",
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useDataProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const useSpeakers = (): SpeakersProps =>

const useSponsors = (): SponsorProps[] =>
{
const content = useData('sponsors');
const content = useData('sponsors', 'partners');
if (!isSponsors(content)) {
throw new Error('Content is not a valid array of Sponsor Type');
}
Expand Down

0 comments on commit cf71c6c

Please sign in to comment.