Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
macjuul committed Feb 4, 2025
1 parent cb0d732 commit eab08b7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import { Spacer } from "~/components/Spacer";
import { useBoolean } from "~/hooks/boolean";
import { useStable } from "~/hooks/stable";
import { useIsLight } from "~/hooks/theme";
import type { CloudInstance, Selection } from "~/types";
import type { CloudInstance, Selectable } from "~/types";
import { iconChevronDown, iconClose, iconPlus } from "~/util/icons";

const RPCS = [
Expand Down Expand Up @@ -276,7 +276,7 @@ function OptionsCapability({
data,
disabled,
onChange,
}: CapabilityProps<string[]> & { data: Selection }) {
}: CapabilityProps<string[]> & { data: Selectable[] }) {
const [isExpanded, expandedHandle] = useBoolean();

const updateSelection = (event: React.ChangeEvent<HTMLInputElement>, item: string) => {
Expand Down

0 comments on commit eab08b7

Please sign in to comment.