diff --git a/components/contributing.tsx b/components/contributing.tsx index cc4b96f..ec81beb 100644 --- a/components/contributing.tsx +++ b/components/contributing.tsx @@ -51,14 +51,14 @@ const featuresData = [ } ]; -const Feature = ({ title, description, icon, url }) => ( +const Feature = ({ title, description, icon, url }: { title: string, description: string, icon: JSX.Element, url: string }) => (
{icon}

{title}

{description}

- Learn More + Learn More
); diff --git a/components/donating.tsx b/components/donating.tsx index 7078d27..b5737c6 100644 --- a/components/donating.tsx +++ b/components/donating.tsx @@ -35,14 +35,14 @@ const featuresData = [ }, ]; -const Methods = ({ title, description, icon, url }) => ( +const Methods = ({ title, description, icon, url }: { title: string, description: string, icon: JSX.Element, url: string }) => (
{icon}

{title}

{description}

- Learn More + Learn More
);