address eslint warnings
This commit is contained in:
@@ -86,7 +86,6 @@ export function useFloating<R extends ReferenceElement, F extends HTMLElement>(
|
||||
const currentReference = reference();
|
||||
const currentFloating = floating();
|
||||
|
||||
options?.middleware;
|
||||
placement();
|
||||
strategy();
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -86,7 +86,6 @@ export function useFloating<R extends ReferenceElement, F extends HTMLElement>(
|
||||
const currentReference = reference();
|
||||
const currentFloating = floating();
|
||||
|
||||
options?.middleware;
|
||||
placement();
|
||||
strategy();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user