From 778beafae24e3476f36b3d208bdfa995bbeb4255 Mon Sep 17 00:00:00 2001 From: Uzair Ahmed Date: Fri, 22 Dec 2023 01:29:13 +0500 Subject: [PATCH] fix: Hide Add Website button for View Only users --- src/app/(main)/settings/websites/Websites.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/(main)/settings/websites/Websites.tsx b/src/app/(main)/settings/websites/Websites.tsx index 5f88ae33..89c509ea 100644 --- a/src/app/(main)/settings/websites/Websites.tsx +++ b/src/app/(main)/settings/websites/Websites.tsx @@ -5,10 +5,9 @@ import WebsitesHeader from './WebsitesHeader'; export default function Websites() { const { user } = useUser(); - return ( <> - + );