Skip to content

Commit e4083d0

Browse files
authored
chore: lint (#161)
1 parent e97f79e commit e4083d0

File tree

6 files changed

+4
-6
lines changed

6 files changed

+4
-6
lines changed

src/components/FactoryCodeEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useEffect, useState } from "react";
1+
import { useEffect, useState } from "react";
22
import { FactoryCodeGenerator, getFactoryCodeGenerator } from "../compiler/index.js";
33
import { CompilerState } from "../types/index.js";
44
import { Box } from "../utils/index.js";

src/components/LazyTreeView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useState } from "react";
1+
import { useState } from "react";
22
import TreeView from "react-treeview";
33

44
export interface LazyTreeViewProps {

src/components/PropertiesViewer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import CircularJson from "circular-json";
2-
import React, { useEffect, useState } from "react";
2+
import { useEffect, useState } from "react";
33
import {
44
CommentRange,
55
CompilerApi,

src/components/Spinner.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from "react";
21
import { BeatLoader } from "react-spinners";
32

43
export function Spinner() {

src/components/TreeViewer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useLayoutEffect } from "react";
1+
import { useLayoutEffect } from "react";
22
import TreeView from "react-treeview";
33
import { CompilerApi, getChildrenFunction, Node, SourceFile } from "../compiler/index.js";
44
import { TreeMode } from "../types/index.js";

src/main.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from "react";
21
import ReactDOM from "react-dom";
32
import { App } from "./App.js";
43
import { AppContextProvider } from "./AppContext.js";

0 commit comments

Comments
 (0)