fix(ui): remove unused useMutation import and add React import to test

This commit is contained in:
Lucas Song 2026-04-14 10:08:18 -07:00
parent 977245c30e
commit 9c869732a5
2 changed files with 2 additions and 1 deletions

View file

@ -1,7 +1,7 @@
import React, { useState, useEffect, useCallback } from "react";
import { Button, TabGroup, TabList, Tab, TabPanels, TabPanel } from "@tremor/react";
import { Alert } from "antd";
import { useMutation } from "@tanstack/react-query";
import MessageManager from "@/components/molecules/message_manager";
import { InfoCircleOutlined } from "@ant-design/icons";
import { isAdminRole } from "@/utils/roles";

View file

@ -1,3 +1,4 @@
import React from "react";
import { renderHook, waitFor } from "@testing-library/react";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { useDeletePolicyAttachment } from "./useDeletePolicyAttachment";