Skip to content

Commit

Permalink
remove loading state when fetching each time the tree
Browse files Browse the repository at this point in the history
  • Loading branch information
pa-lem committed Jul 4, 2024
1 parent b2647aa commit bf724be
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions frontend/app/src/screens/objects/hierarchical-tree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ export const HierarchicalTree = ({ schema, currentNodeId, className }: Hierarchi
const [isLoading, setLoading] = useState(true);

const fetchTree = async () => {
setLoading(true);

const { data } = await getObjectTree();

let rootNodeIds: string[] = [];
Expand Down

0 comments on commit bf724be

Please sign in to comment.