From 7f553b31c04f9e47e1c693b5189ee1acd7e168c1 Mon Sep 17 00:00:00 2001 From: Malik Zulqurnain Date: Fri, 11 Oct 2024 20:58:56 +0500 Subject: [PATCH] Rename prop type --- packages/commonwealth/client/scripts/hooks/useTopicGating.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/commonwealth/client/scripts/hooks/useTopicGating.ts b/packages/commonwealth/client/scripts/hooks/useTopicGating.ts index fa94050c3e1..1875fd3a00a 100644 --- a/packages/commonwealth/client/scripts/hooks/useTopicGating.ts +++ b/packages/commonwealth/client/scripts/hooks/useTopicGating.ts @@ -4,7 +4,7 @@ import Permissions from '../utils/Permissions'; type TopicPermission = { id: number; permission: GroupTopicPermissionEnum }; -type IuseTopicGating = { +type UseTopicGatingProps = { communityId: string; apiEnabled: boolean; userAddress: string; @@ -16,7 +16,7 @@ const useTopicGating = ({ communityId, userAddress, topicId, -}: IuseTopicGating) => { +}: UseTopicGatingProps) => { const { data: memberships = [], isLoading: isLoadingMemberships } = useRefreshMembershipQuery({ communityId,