chore: remove ten reported unused bindings (#2433)

This commit is contained in:
JATMN
2026-10-26 22:28:45 -07:00
committed by GitHub
parent 24901c610a
commit a91f736ef1
10 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { c as _c } from "react-compiler-runtime";
import { toString as qrToString } from 'qrcode';
import * as React from 'react';
import { useCallback, useEffect, useState } from 'react';
import { useEffect, useState } from 'react';
import { Pane } from '../../components/design-system/Pane.js';
import type { KeyboardEvent } from '../../ink/events/keyboard-event.js';
import { Box, Text } from '../../ink.js';
+1 -1
View File
@@ -1,6 +1,6 @@
import { c as _c } from "react-compiler-runtime";
import figures from 'figures';
import React, { useCallback, useState } from 'react';
import React, { useState } from 'react';
import { Dialog } from '../../components/design-system/Dialog.js';
import { stringWidth } from '../../ink/stringWidth.js';
// eslint-disable-next-line custom-rules/prefer-use-keybindings -- raw text input for config dialog
+1 -1
View File
@@ -1,7 +1,7 @@
import { c as _c } from "react-compiler-runtime";
import figures from 'figures';
import * as React from 'react';
import { useCallback, useEffect, useState } from 'react';
import { useEffect, useState } from 'react';
import { ConfigurableShortcutHint } from '../../components/ConfigurableShortcutHint.js';
import { Byline } from '../../components/design-system/Byline.js';
import { Pane } from '../../components/design-system/Pane.js';
@@ -1,5 +1,5 @@
import { c as _c } from "react-compiler-runtime";
import React, { useMemo, useState } from 'react';
import React, { useState } from 'react';
import type { CommandResultDisplay, LocalJSXCommandContext } from '../../commands.js';
import { type OptionWithDescription, Select } from '../../components/CustomSelect/select.js';
import { Dialog } from '../../components/design-system/Dialog.js';
@@ -1,5 +1,5 @@
import { c as _c } from "react-compiler-runtime";
import React, { useCallback, useRef, useState } from 'react';
import React, { useRef, useState } from 'react';
import { Select } from '../../components/CustomSelect/select.js';
import { Dialog } from '../../components/design-system/Dialog.js';
import { Box, Text } from '../../ink.js';
+1 -1
View File
@@ -3,7 +3,7 @@ import { execa } from 'execa';
import { readFile } from 'fs/promises';
import { join } from 'path';
import * as React from 'react';
import { useCallback, useEffect, useState } from 'react';
import { useEffect, useState } from 'react';
import type { CommandResultDisplay } from '../../commands.js';
import { Select } from '../../components/CustomSelect/select.js';
import { Dialog } from '../../components/design-system/Dialog.js';
+1 -1
View File
@@ -81,7 +81,7 @@ export function CoordinatorTaskPanel(): React.ReactNode {
* stays accurate without needing its own tick.
*/
export function useCoordinatorTaskCount() {
const tasks = useAppState(_temp);
useAppState(_temp);
let t0;
t0 = 0;
return t0;
+1 -1
View File
@@ -1,5 +1,5 @@
import { c as _c } from "react-compiler-runtime";
import React, { useCallback, useEffect, useRef } from 'react';
import React, { useEffect, useRef } from 'react';
import { Box, Text } from '../ink.js';
import { isMaxSubscriber, isProSubscriber, isTeamSubscriber } from '../utils/auth.js';
import { getGlobalConfig, saveGlobalConfig } from '../utils/config.js';
@@ -1,5 +1,5 @@
import { c as _c } from "react-compiler-runtime";
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
import { useEffect, useRef, useState } from 'react';
import { isFeedbackSurveyDisabled } from 'src/services/analytics/config.js';
import { checkStatsigFeatureGate_CACHED_MAY_BE_STALE } from 'src/services/analytics/growthbook.js';
import { type AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS, logEvent } from 'src/services/analytics/index.js';
-1
View File
@@ -1,6 +1,5 @@
import { c as _c } from "react-compiler-runtime";
import * as React from 'react';
import { useMemo } from 'react';
import { type Command, formatDescriptionWithSource } from '../../commands.js';
import { Box, Text } from '../../ink.js';
import { truncate } from '../../utils/format.js';