Skip to content

Commit 78598db

Browse files
committed
Fix new lint complaints after removing unused func
Signed-off-by: Geoff Wilson <[email protected]>
1 parent 7e518b1 commit 78598db

File tree

8 files changed

+2
-21
lines changed

8 files changed

+2
-21
lines changed

webview-ui/src/components/settings/ApiOptions.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ const ApiOptions = ({
105105
fromWelcomeView,
106106
errorMessage,
107107
setErrorMessage,
108-
env = {} // eslint-disable-line no-unused-vars
108+
// eslint-disable-next-line no-unused-vars
109+
env = {}
109110
}: ApiOptionsProps) => {
110111
const { t } = useAppTranslation()
111112
const { organizationAllowList } = useExtensionState()

webview-ui/src/components/settings/providers/Chutes.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
import { useCallback } from "react"
2-
31
import type { ProviderSettings } from "@roo-code/types"
42

53
import { useAppTranslation } from "@src/i18n/TranslationContext"
64

7-
import { inputEventTransform } from "../transforms"
85
import { ApiKey } from "../ApiKey"
96

107
type ChutesProps = {

webview-ui/src/components/settings/providers/DeepSeek.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
import { useCallback } from "react"
2-
31
import type { ProviderSettings } from "@roo-code/types"
42

53
import { useAppTranslation } from "@src/i18n/TranslationContext"
64

7-
import { inputEventTransform } from "../transforms"
85
import { ApiKey } from "../ApiKey"
96

107
type DeepSeekProps = {

webview-ui/src/components/settings/providers/Glama.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
import { useCallback } from "react"
2-
31
import { type ProviderSettings, type OrganizationAllowList, glamaDefaultModelId } from "@roo-code/types"
42

53
import type { RouterModels } from "@roo/api"
64

75
import { useAppTranslation } from "@src/i18n/TranslationContext"
86
import { getGlamaAuthUrl } from "@src/oauth/urls"
97

10-
import { inputEventTransform } from "../transforms"
118
import { ModelPicker } from "../ModelPicker"
129
import { ApiKey } from "../ApiKey"
1310

webview-ui/src/components/settings/providers/Groq.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
import { useCallback } from "react"
2-
31
import type { ProviderSettings } from "@roo-code/types"
42

53
import { useAppTranslation } from "@src/i18n/TranslationContext"
64

7-
import { inputEventTransform } from "../transforms"
85
import { ApiKey } from "../ApiKey"
96

107
type GroqProps = {

webview-ui/src/components/settings/providers/Requesty.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { useCallback, useState } from "react"
2-
31
import { type ProviderSettings, type OrganizationAllowList, requestyDefaultModelId } from "@roo-code/types"
42

53
import type { RouterModels } from "@roo/api"
@@ -8,7 +6,6 @@ import { vscode } from "@src/utils/vscode"
86
import { useAppTranslation } from "@src/i18n/TranslationContext"
97
import { Button } from "@src/components/ui"
108

11-
import { inputEventTransform } from "../transforms"
129
import { ModelPicker } from "../ModelPicker"
1310
import { RequestyBalanceDisplay } from "./RequestyBalanceDisplay"
1411
import { ApiKey } from "../ApiKey"

webview-ui/src/components/settings/providers/Unbound.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { useCallback, useState, useRef } from "react"
21
import { useQueryClient } from "@tanstack/react-query"
32

43
import { type ProviderSettings, type OrganizationAllowList, unboundDefaultModelId } from "@roo-code/types"
@@ -9,7 +8,6 @@ import { useAppTranslation } from "@src/i18n/TranslationContext"
98
import { vscode } from "@src/utils/vscode"
109
import { Button } from "@src/components/ui"
1110

12-
import { inputEventTransform } from "../transforms"
1311
import { ModelPicker } from "../ModelPicker"
1412
import { ApiKey } from "../ApiKey"
1513

webview-ui/src/components/settings/providers/XAI.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
import { useCallback } from "react"
2-
31
import type { ProviderSettings } from "@roo-code/types"
42

53
import { useAppTranslation } from "@src/i18n/TranslationContext"
64

7-
import { inputEventTransform } from "../transforms"
85
import { ApiKey } from "../ApiKey"
96

107
type XAIProps = {

0 commit comments

Comments
 (0)