From 98a1da2e66f1e67d7916fc7f68e3d19591257876 Mon Sep 17 00:00:00 2001 From: Kevin O'Connell Date: Wed, 26 Jun 2024 11:58:02 -0400 Subject: [PATCH] don't show profile if warpcast url --- src/app/[identifier]/page.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/[identifier]/page.tsx b/src/app/[identifier]/page.tsx index c2b7c44..2692ab9 100644 --- a/src/app/[identifier]/page.tsx +++ b/src/app/[identifier]/page.tsx @@ -263,9 +263,10 @@ export default function Page({ params }: ResponseProps) { )}
- {hash ? ( + {hash && + (!isValidWarpcastUrl(hash) || hash.split('/').length >= 5) ? (