Trim a small LogoV2 batch of unused React imports (#320)

This fifth cleanup pass follows issue #314 with another homogeneous, low-risk slice: three LogoV2 notice/upsell components that each only surfaced a single unused React import warning. Removing just those imports keeps the series moving without mixing in broader cleanup categories.

Constraint: Keep pass 5 to files with the same single-warning pattern
Rejected: Fold in unrelated LogoV2 files with wider warnings or other cleanup shapes | would make the pass less uniform and less reviewable
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Continue preferring single-pattern micro-passes when the compiler output presents them clearly
Tested: bun run build; bun run smoke; targeted noUnused grep for touched files via bun x tsc --noEmit --noUnusedLocals --noUnusedParameters --pretty false
Not-tested: full repo typecheck (broader baseline noise remains outside this pass)

Co-authored-by: anandh8x <test@example.com>
This commit is contained in:
Anandan
2026-04-04 11:42:35 +05:30
committed by GitHub
parent ab3c46a591
commit 897ef2002e
3 changed files with 3 additions and 6 deletions

View File

@@ -1,5 +1,4 @@
import { c as _c } from "react-compiler-runtime"; import { c as _c } from "react-compiler-runtime";
import * as React from 'react';
import { useState } from 'react'; import { useState } from 'react';
import { Text } from '../../ink.js'; import { Text } from '../../ink.js';
import { logEvent } from '../../services/analytics/index.js'; import { logEvent } from '../../services/analytics/index.js';

View File

@@ -1,5 +1,4 @@
import { c as _c } from "react-compiler-runtime"; import { c as _c } from "react-compiler-runtime";
import * as React from 'react';
import { useEffect, useState } from 'react'; import { useEffect, useState } from 'react';
import { UP_ARROW } from '../../constants/figures.js'; import { UP_ARROW } from '../../constants/figures.js';
import { Box, Text } from '../../ink.js'; import { Box, Text } from '../../ink.js';

View File

@@ -1,6 +1,5 @@
import { c as _c } from "react-compiler-runtime"; import { c as _c } from "react-compiler-runtime";
import { feature } from 'bun:bundle'; import { feature } from 'bun:bundle';
import * as React from 'react';
import { useEffect, useState } from 'react'; import { useEffect, useState } from 'react';
import { Box, Text } from '../../ink.js'; import { Box, Text } from '../../ink.js';
import { getGlobalConfig, saveGlobalConfig } from '../../utils/config.js'; import { getGlobalConfig, saveGlobalConfig } from '../../utils/config.js';