Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihoub2 committed Sep 26, 2024
1 parent 2bdd841 commit 34a5a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/pages/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Home = () => {
const [filter, setFilter] = useState("contributions");
const url = filter === "object" ? contributionUrl : contactUrl;
const { data, isLoading, isError } = ContributionData(url);
const contributions = data as { data: [] };
const contributions = data?.data as { data: [] };

return (
<Container className="fr-mt-10v">
Expand Down

0 comments on commit 34a5a9c

Please sign in to comment.