diff --git a/pages/404.tsx b/pages/404.tsx
index e14f5b46..3b5ed2fe 100644
--- a/pages/404.tsx
+++ b/pages/404.tsx
@@ -1,4 +1,4 @@
-import { BookOpenIcon, CheckIcon, CodeIcon, DocumentTextIcon } from "@heroicons/react/outline";
+import { BookOpenIcon, CheckIcon, DocumentTextIcon } from "@heroicons/react/outline";
import { ChevronRightIcon } from "@heroicons/react/solid";
import { GetStaticPropsContext } from "next";
import Link from "next/link";
@@ -22,12 +22,6 @@ export default function Custom404() {
icon: DocumentTextIcon,
href: "https://docs.cal.com",
},
- {
- title: t("api_reference"),
- description: t("api_reference_description"),
- icon: CodeIcon,
- href: "https://developer.cal.com",
- },
{
title: t("blog"),
description: t("blog_description"),
@@ -57,7 +51,7 @@ export default function Custom404() {
{isSubpage ? (
{t("check_spelling_mistakes_or_go_back")}
- ) : process.env.NEXT_PUBLIC_BASE_URL == "https://app.cal.com" ? (
+ ) : process.env.NEXT_PUBLIC_BASE_URL !== "https://app.cal.com" ? (
@@ -79,7 +73,7 @@ export default function Custom404() {
{t("popular_pages")}
- {!isSubpage && process.env.NEXT_PUBLIC_BASE_URL == "https://app.cal.com" && (
+ {!isSubpage && process.env.NEXT_PUBLIC_BASE_URL !== "https://app.cal.com" && (