address eslint warnings

This commit is contained in:
Jörg Thalheim
2025-03-18 14:34:36 +01:00
parent fc10c36bfb
commit 60ffaed9ab
4 changed files with 2 additions and 6 deletions

View File

@@ -86,7 +86,6 @@ export function useFloating<R extends ReferenceElement, F extends HTMLElement>(
const currentReference = reference();
const currentFloating = floating();
options?.middleware;
placement();
strategy();

View File

@@ -34,9 +34,7 @@ export type ErrorQuery<T extends OperationNames> = Extract<
>;
export type ErrorData<T extends OperationNames> = ErrorQuery<T>["errors"];
export type ClanOperations = {
[K in OperationNames]: (str: string) => void;
};
export type ClanOperations = Record<OperationNames, (str: string) => void>;
export interface GtkResponse<T> {
result: T;

View File

@@ -2,7 +2,7 @@ import { type JSX } from "solid-js";
type sizes = "small" | "medium" | "large";
const gapSizes: { [size in sizes]: string } = {
const gapSizes: Record<sizes, string> = {
small: "gap-2",
medium: "gap-4",
large: "gap-6",

View File

@@ -86,7 +86,6 @@ export function useFloating<R extends ReferenceElement, F extends HTMLElement>(
const currentReference = reference();
const currentFloating = floating();
options?.middleware;
placement();
strategy();