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:
parent
3060169214
commit
6b12ec877b
4 changed files with 3 additions and 2 deletions
|
|
@ -1,4 +1,3 @@
|
|||
import React from "react";
|
||||
import "./Notifications.css";
|
||||
|
||||
export interface Toast {
|
||||
|
|
|
|||
|
|
@ -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
1
tsconfig.app.tsbuildinfo
Normal 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"}
|
||||
1
tsconfig.node.tsbuildinfo
Normal file
1
tsconfig.node.tsbuildinfo
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"root":["./vite.config.ts"],"version":"5.9.3"}
|
||||
Loading…
Add table
Add a link
Reference in a new issue