Skip to content

Commit

Permalink
Remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgall committed Mar 28, 2024
1 parent 2c7f7de commit b02998b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/pages/DaoHierarchy/DaoNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { useEffect, useState } from 'react';
import { useLoadDAONode } from '../../../hooks/DAO/loaders/useLoadDAONode';
import { useLoadDAOData } from '../../../hooks/DAO/useDAOData';
import { useFractal } from '../../../providers/App/AppProvider';
import { useNetworkConfig } from '../../../providers/NetworkConfig/NetworkConfigProvider';
import { FractalNode, WithError } from '../../../types';
import { DAONodeRow } from '../../ui/cards/DAONodeRow';
import { NodeLineVertical } from './NodeLines';
Expand Down Expand Up @@ -35,7 +34,6 @@ export function DaoNode({
const {
node: { daoAddress: currentDAOAddress }, // used ONLY to determine if we're on the current DAO
} = useFractal();
const { addressPrefix } = useNetworkConfig();

const isCurrentDAO = daoAddress === currentDAOAddress;

Expand Down Expand Up @@ -82,7 +80,7 @@ export function DaoNode({
}
});
}
}, [loadDao, daoAddress, fractalNode, depth, addressPrefix]);
}, [loadDao, daoAddress, fractalNode, depth]);

return (
<Box position="relative">
Expand Down

0 comments on commit b02998b

Please sign in to comment.