Skip to content

Commit

Permalink
update naming convention on contributors component
Browse files Browse the repository at this point in the history
  • Loading branch information
OgDev-01 committed Aug 25, 2022
1 parent 202a33e commit ebffe89
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/organisms/Contributors/contributors.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import useContributorData from "lib/hooks/useContributorData";
import ContributorCard from "../ContributorCard/contributor-card";
const Contributors = (): JSX.Element =>{
const data = useContributorData();
const array = Array.apply(null, Array(9));
const contributorData = useContributorData();
const randomArray = Array.apply(null, Array(9));
return (
<div className="w-full grid grid-cols-automobile md:grid-cols-autodesktop gap-3">
{array.map((contributor, index) => (
<ContributorCard key={index} className="" contributor={{ ...data }} />
{randomArray.map((contributor, index) => (
<ContributorCard key={index} className="" contributor={{ ...contributorData }} />
))}
</div>
);
Expand Down

0 comments on commit ebffe89

Please sign in to comment.