From 5d7c6133172a4f0fc374b7dfdc3bbd741320f5c8 Mon Sep 17 00:00:00 2001 From: Mistral Vibe Date: Wed, 1 Apr 2026 12:12:26 +0200 Subject: [PATCH] Component for invitations --- web/src/components/InviteManagement.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"}