diff --git a/components/HeroContainer.tsx b/components/HeroContainer.tsx
index 48c27111..552582fb 100644
--- a/components/HeroContainer.tsx
+++ b/components/HeroContainer.tsx
@@ -2,7 +2,12 @@ import { GitHubIcon } from "./GitHubIcon";
import { HappyCommitsInfo } from "./HappyCommitsInfo";
import { BinaryCode } from "./BinaryCode";
-export const HeroContainer = ({filter, setFilter}) => {
+type FilterProps = {
+ filter: string;
+ setFilter: (filter: string) => void;
+};
+
+export const HeroContainer = ({filter, setFilter}: FilterProps) => {
return (
<>
{
-// return (
-//
-// {numIssues}
-//
-//
-// );
-// };
-
export const IssueItem = ({ issue }: IssueItemProps) => {
return (
@@ -35,7 +19,6 @@ export const IssueItem = ({ issue }: IssueItemProps) => {
>
{issue.title}
- {/* {issue.comments_count > 0 && } */}
);
diff --git a/components/RepositoryMetadata.tsx b/components/RepositoryMetadata.tsx
index 2f4d4699..8b6aca4e 100644
--- a/components/RepositoryMetadata.tsx
+++ b/components/RepositoryMetadata.tsx
@@ -5,14 +5,12 @@ type RepositoryMetadataProps = {
repositoryNumIssues: number;
lastModified: Repository["last_modified"];
repositoryLang: Repository["language"]["display"];
- repositoryTopics: Repository["topics"];
};
export const RepositoryMetadata = ({
repositoryNumIssues,
lastModified,
- repositoryLang,
- repositoryTopics
+ repositoryLang
}: RepositoryMetadataProps) => {
return (