diff --git a/src/components/ToolInfo.tsx b/src/components/ToolInfo.tsx index dd2b771f..0707e068 100644 --- a/src/components/ToolInfo.tsx +++ b/src/components/ToolInfo.tsx @@ -4,7 +4,7 @@ import styles from "./ToolInfo.module.css"; interface ToolInfoProps { description: string; author: string; - codeLink: string; + codeLink?: string; authType: "oauth2"; authProviderName?: string; authProviderDocsUrl?: string; @@ -33,12 +33,14 @@ const ToolInfo: React.FC = ({

Author: {author}

-

- Code: - - GitHub - -

+ {codeLink && ( +

+ Code: + + GitHub + +

+ )}

Auth: {authType.toLowerCase() === "oauth2" ? (