diff --git a/apps/web/src/components/action-bar.tsx b/apps/web/src/components/action-bar.tsx index 4617c53..0a24e1e 100644 --- a/apps/web/src/components/action-bar.tsx +++ b/apps/web/src/components/action-bar.tsx @@ -9,7 +9,7 @@ import { Plus, Users, } from "lucide-react"; -import { type RefObject, useDeferredValue, useState } from "react"; +import React, { type RefObject, useDeferredValue, useState } from "react"; import type { SearchResult } from "../hooks/use-bestiary.js"; import { cn } from "../lib/utils.js"; import { D20Icon } from "./d20-icon.js"; @@ -62,7 +62,7 @@ function AddModeSuggestions({ onConfirmQueued, onAddFromPlayerCharacter, onClear, -}: { +}: Readonly<{ nameInput: string; suggestions: SearchResult[]; pcMatches: PlayerCharacter[]; @@ -75,7 +75,7 @@ function AddModeSuggestions({ onSetQueued: (q: QueuedCreature | null) => void; onConfirmQueued: () => void; onAddFromPlayerCharacter?: (pc: PlayerCharacter) => void; -}) { +}>) { return (