Skip to content

Commit

Permalink
Don't need to setErrorLoading(true) when wrong network identified
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgall committed Mar 27, 2024
1 parent 789573e commit b04d36e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/hooks/DAO/loaders/useFractalNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ export const useFractalNode = ({
if (_connectedNetwork !== _daoNetwork) {
currentValidSafe.current = undefined;
action.resetDAO();
setErrorLoading(true);
setWrongNetwork(true);
} else if (utils.isAddress(_daoAddress) && safeAPI) {
try {
Expand Down

0 comments on commit b04d36e

Please sign in to comment.