diff --git a/web/src/components/InviteManagement.tsx b/web/src/components/InviteManagement.tsx index 2f18371..047986d 100644 --- a/web/src/components/InviteManagement.tsx +++ b/web/src/components/InviteManagement.tsx @@ -1,4 +1,4 @@ -import React, { useState } from "react"; +import React from "react"; import { useMutation, useQuery } from "@tanstack/react-query"; import { listInvites, revokeInvite } from "../api/invites"; import { BandInviteListItem } from "../types/invite"; @@ -122,7 +122,7 @@ export function InviteManagement({ bandId }: InviteManagementProps) { revokeMutation.mutate(invite.id); } }} - disabled={revokeMutation.isPending || isRefreshing} + disabled={revokeMutation.isPending} > {revokeMutation.isPending ? "Revoking..." : "Revoke"}