Skip to content

Commit

Permalink
Rename prop type
Browse files Browse the repository at this point in the history
  • Loading branch information
mzparacha committed Oct 11, 2024
1 parent 1f42e8c commit 7f553b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/commonwealth/client/scripts/hooks/useTopicGating.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -16,7 +16,7 @@ const useTopicGating = ({
communityId,
userAddress,
topicId,
}: IuseTopicGating) => {
}: UseTopicGatingProps) => {
const { data: memberships = [], isLoading: isLoadingMemberships } =
useRefreshMembershipQuery({
communityId,
Expand Down

0 comments on commit 7f553b3

Please sign in to comment.