Remove unused React imports (Notifications, Palette)

Modern React 17+ JSX transform doesn't need `import React from "react"`
unless React itself is referenced. The two component files had stale
imports left over from the agent that scaffolded them; tsc -b under
the build config trips on them as TS6133. Drop them.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
megaproxy 2026-05-22 18:35:10 +01:00
parent 3060169214
commit 6b12ec877b
4 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,3 @@
import React from "react";
import "./Notifications.css";
export interface Toast {

View file

@ -1,4 +1,4 @@
import React, { useState, useEffect, useRef, useMemo } from "react";
import { useState, useEffect, useRef, useMemo } from "react";
import type { LeafNode } from "../lib/layout/tree";
import "./Palette.css";

1
tsconfig.app.tsbuildinfo Normal file
View file

@ -0,0 +1 @@
{"root":["./src/App.tsx","./src/ipc.ts","./src/main.tsx","./src/components/Notifications.tsx","./src/components/Palette.tsx","./src/components/XtermPane.tsx","./src/lib/layout/LeafPane.tsx","./src/lib/layout/Pane.tsx","./src/lib/layout/SplitNode.tsx","./src/lib/layout/orchestration.tsx","./src/lib/layout/tree.test.ts","./src/lib/layout/tree.ts"],"version":"5.9.3"}

View file

@ -0,0 +1 @@
{"root":["./vite.config.ts"],"version":"5.9.3"}