Skip to content

Commit

Permalink
chore: lint (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Sep 30, 2024
1 parent e97f79e commit e4083d0
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/FactoryCodeEditor.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useEffect, useState } from "react";
import { useEffect, useState } from "react";
import { FactoryCodeGenerator, getFactoryCodeGenerator } from "../compiler/index.js";
import { CompilerState } from "../types/index.js";
import { Box } from "../utils/index.js";
Expand Down
2 changes: 1 addition & 1 deletion src/components/LazyTreeView.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState } from "react";
import { useState } from "react";
import TreeView from "react-treeview";

export interface LazyTreeViewProps {
Expand Down
2 changes: 1 addition & 1 deletion src/components/PropertiesViewer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import CircularJson from "circular-json";
import React, { useEffect, useState } from "react";
import { useEffect, useState } from "react";
import {
CommentRange,
CompilerApi,
Expand Down
1 change: 0 additions & 1 deletion src/components/Spinner.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import { BeatLoader } from "react-spinners";

export function Spinner() {
Expand Down
2 changes: 1 addition & 1 deletion src/components/TreeViewer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useLayoutEffect } from "react";
import { useLayoutEffect } from "react";
import TreeView from "react-treeview";
import { CompilerApi, getChildrenFunction, Node, SourceFile } from "../compiler/index.js";
import { TreeMode } from "../types/index.js";
Expand Down
1 change: 0 additions & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import ReactDOM from "react-dom";
import { App } from "./App.js";
import { AppContextProvider } from "./AppContext.js";
Expand Down

0 comments on commit e4083d0

Please sign in to comment.