refactor: Removed unused vars and imports
This commit is contained in:
parent
05fafced07
commit
02a4f2c9a9
27 changed files with 39 additions and 44 deletions
|
|
@ -21,7 +21,6 @@ export function LocalOption (data: {
|
|||
<OptionSpace id={`${data.id}-space`} label={data.label}>
|
||||
{data.type === 'dropdown' && data.values && <OptionDropdown values={data.values} icon={data.icon}
|
||||
name={data.id ?? ""}
|
||||
type={data.type}
|
||||
placeholder={data.placeholder}
|
||||
defaultValue={localValue}
|
||||
onChange={(v) =>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { FocusEventHandler, HTMLInputAutoCompleteAttribute, HTMLInputTypeAttribute, JSX, useState } from "react";
|
||||
import { FocusEventHandler, HTMLInputAutoCompleteAttribute, JSX, useState } from "react";
|
||||
import { twMerge } from "tailwind-merge";
|
||||
import { useFocusable } from "@noriginmedia/norigin-spatial-navigation";
|
||||
import { ContextDialog, ContextList, DialogEntry } from "../ContextDialog";
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
import { HTMLInputTypeAttribute, JSX, useCallback, useEffect, useState } from "react";
|
||||
import { JSX, useCallback, useEffect, useState } from "react";
|
||||
import { SettingsType } from "../../../shared/constants";
|
||||
import { useMutation, useQuery } from "@tanstack/react-query";
|
||||
import { OptionSpace } from "./OptionSpace";
|
||||
import { OptionInput } from "./OptionInput";
|
||||
import { getSettingQuery, setSettingMutation } from "@queries/settings";
|
||||
import { OptionDropdown } from "./OptionDropdown";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue