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 currentReference = reference();
|
||||||
const currentFloating = floating();
|
const currentFloating = floating();
|
||||||
|
|
||||||
options?.middleware;
|
|
||||||
placement();
|
placement();
|
||||||
strategy();
|
strategy();
|
||||||
|
|
||||||
|
|||||||
@@ -34,9 +34,7 @@ export type ErrorQuery<T extends OperationNames> = Extract<
|
|||||||
>;
|
>;
|
||||||
export type ErrorData<T extends OperationNames> = ErrorQuery<T>["errors"];
|
export type ErrorData<T extends OperationNames> = ErrorQuery<T>["errors"];
|
||||||
|
|
||||||
export type ClanOperations = {
|
export type ClanOperations = Record<OperationNames, (str: string) => void>;
|
||||||
[K in OperationNames]: (str: string) => void;
|
|
||||||
};
|
|
||||||
|
|
||||||
export interface GtkResponse<T> {
|
export interface GtkResponse<T> {
|
||||||
result: T;
|
result: T;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { type JSX } from "solid-js";
|
|||||||
|
|
||||||
type sizes = "small" | "medium" | "large";
|
type sizes = "small" | "medium" | "large";
|
||||||
|
|
||||||
const gapSizes: { [size in sizes]: string } = {
|
const gapSizes: Record<sizes, string> = {
|
||||||
small: "gap-2",
|
small: "gap-2",
|
||||||
medium: "gap-4",
|
medium: "gap-4",
|
||||||
large: "gap-6",
|
large: "gap-6",
|
||||||
|
|||||||
@@ -86,7 +86,6 @@ export function useFloating<R extends ReferenceElement, F extends HTMLElement>(
|
|||||||
const currentReference = reference();
|
const currentReference = reference();
|
||||||
const currentFloating = floating();
|
const currentFloating = floating();
|
||||||
|
|
||||||
options?.middleware;
|
|
||||||
placement();
|
placement();
|
||||||
strategy();
|
strategy();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user