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";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue