tsc fixes and rules
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import type { TreeDataNode } from "antd";
|
||||
import { cloneDeep } from "lodash";
|
||||
import React from "react";
|
||||
import { create } from "zustand";
|
||||
import type { NodeContext } from "../components/Graph";
|
||||
@@ -13,7 +12,7 @@ export interface TreeStore {
|
||||
remove: (nodeId: string) => void;
|
||||
}
|
||||
|
||||
export const useGraphLayersTreeStore = create<TreeStore>()((set, get) => ({
|
||||
export const useGraphLayersTreeStore = create<TreeStore>()((set) => ({
|
||||
nodesFlatById: new Map<React.Key, TreeDataNode>(),
|
||||
parentIdByChildId: new Map<React.Key, string>(),
|
||||
rootNodes: [],
|
||||
|
||||
Reference in New Issue
Block a user