Address operator QoL review feedback

This commit is contained in:
Dotta
2026-06-05 03:40:46 +00:00
parent fb13e1f6a9
commit af0c43b205
3 changed files with 54 additions and 7 deletions
+1 -5
View File
@@ -1,6 +1,6 @@
// @vitest-environment jsdom
import type { AnchorHTMLAttributes, ReactNode } from "react";
import { act, type AnchorHTMLAttributes, type ReactNode } from "react";
import { createRoot } from "react-dom/client";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import type { Issue, RoutineListItem } from "@paperclipai/shared";
@@ -237,10 +237,6 @@ vi.mock("../components/AgentIconPicker", () => ({
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(globalThis as any).IS_REACT_ACT_ENVIRONMENT = true;
async function act(callback: () => void | Promise<void>) {
await callback();
}
function createRoutine(overrides: Partial<RoutineListItem>): RoutineListItem {
return {
id: "routine-1",