From 5525e40cdf9eab2e86765caa7d318a9d05bf5f19 Mon Sep 17 00:00:00 2001
From: Adam Gall <galladamj@gmail.com>
Date: Thu, 28 Mar 2024 22:23:51 -0400
Subject: [PATCH] Remove unused parameter

---
 src/components/pages/DaoHierarchy/DaoNode.tsx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/components/pages/DaoHierarchy/DaoNode.tsx b/src/components/pages/DaoHierarchy/DaoNode.tsx
index 5fb5820f59..51b05f81cb 100644
--- a/src/components/pages/DaoHierarchy/DaoNode.tsx
+++ b/src/components/pages/DaoHierarchy/DaoNode.tsx
@@ -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';
@@ -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;
 
@@ -82,7 +80,7 @@ export function DaoNode({
         }
       });
     }
-  }, [loadDao, daoAddress, fractalNode, depth, addressPrefix]);
+  }, [loadDao, daoAddress, fractalNode, depth]);
 
   return (
     <Box position="relative">