From c7445627013f0957a34331cf8efbf72aa9cf24b4 Mon Sep 17 00:00:00 2001 From: Julian Early Date: Thu, 16 May 2024 13:59:36 -0700 Subject: [PATCH] fix: remove some broken stuff to allow build to work --- src/app/sandbox/fidgets/[fidgetName]/page.tsx | 23 ------------------- src/pages/profile/[slug].tsx | 4 ++-- 2 files changed, 2 insertions(+), 25 deletions(-) delete mode 100644 src/app/sandbox/fidgets/[fidgetName]/page.tsx diff --git a/src/app/sandbox/fidgets/[fidgetName]/page.tsx b/src/app/sandbox/fidgets/[fidgetName]/page.tsx deleted file mode 100644 index 1c6b85f5..00000000 --- a/src/app/sandbox/fidgets/[fidgetName]/page.tsx +++ /dev/null @@ -1,23 +0,0 @@ -"use client" -import React from "react"; -import FidgetViewer from "@/common/fidgets/FidgetViewer"; -import { CompleteFidgets } from "@/fidgets"; -import { FidgetModule } from "@/common/fidgets"; - -type PageParams = { - params: { - fidgetName: string; - } -}; - -export default function Page({ params }: PageParams) { - const fidgetModule = CompleteFidgets[params.fidgetName] as FidgetModule; - - return ( - <> - { - fidgetModule ? :
Error Loading Fidget
- } - - ); -} \ No newline at end of file diff --git a/src/pages/profile/[slug].tsx b/src/pages/profile/[slug].tsx index 356a1823..57af0886 100644 --- a/src/pages/profile/[slug].tsx +++ b/src/pages/profile/[slug].tsx @@ -377,9 +377,9 @@ export default function Profile({ profile }) { className = {editMode ? "rounded-full bg-white size-12 absolute top-6 right-4 z-10 flex opacity-90 hover:opacity-100 duration-500" : "rounded-full bg-white size-12 absolute top-6 right-4 z-10 flex opacity-50 hover:opacity-100 duration-500"}> - + {/* */} {renderFeed()} - + {/* */} );