diff --git a/pkgs/webview-ui/app/src/Form/base/index.tsx b/pkgs/webview-ui/app/src/Form/base/index.tsx index 71ff78bbb..ba62cd2c9 100644 --- a/pkgs/webview-ui/app/src/Form/base/index.tsx +++ b/pkgs/webview-ui/app/src/Form/base/index.tsx @@ -86,7 +86,6 @@ export function useFloating( const currentReference = reference(); const currentFloating = floating(); - options?.middleware; placement(); strategy(); diff --git a/pkgs/webview-ui/app/src/api/index.ts b/pkgs/webview-ui/app/src/api/index.ts index 9bca920ec..c6a3ff28f 100644 --- a/pkgs/webview-ui/app/src/api/index.ts +++ b/pkgs/webview-ui/app/src/api/index.ts @@ -34,9 +34,7 @@ export type ErrorQuery = Extract< >; export type ErrorData = ErrorQuery["errors"]; -export type ClanOperations = { - [K in OperationNames]: (str: string) => void; -}; +export type ClanOperations = Record void>; export interface GtkResponse { result: T; diff --git a/pkgs/webview-ui/app/src/components/Helpers/List.tsx b/pkgs/webview-ui/app/src/components/Helpers/List.tsx index 29424a39b..c652dd4a9 100644 --- a/pkgs/webview-ui/app/src/components/Helpers/List.tsx +++ b/pkgs/webview-ui/app/src/components/Helpers/List.tsx @@ -2,7 +2,7 @@ import { type JSX } from "solid-js"; type sizes = "small" | "medium" | "large"; -const gapSizes: { [size in sizes]: string } = { +const gapSizes: Record = { small: "gap-2", medium: "gap-4", large: "gap-6", diff --git a/pkgs/webview-ui/app/src/floating/index.tsx b/pkgs/webview-ui/app/src/floating/index.tsx index 71ff78bbb..ba62cd2c9 100644 --- a/pkgs/webview-ui/app/src/floating/index.tsx +++ b/pkgs/webview-ui/app/src/floating/index.tsx @@ -86,7 +86,6 @@ export function useFloating( const currentReference = reference(); const currentFloating = floating(); - options?.middleware; placement(); strategy();