Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jpuri committed Sep 12, 2024
1 parent 78ba6b7 commit 4f4d14d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const NetworkChangeToastLegacy = ({
confirmation: { id: string; chainId: string };
}) => {
const chainId = useSelector(getCurrentChainId);
const newChainId = confirmation.chainId ?? chainId;
const newChainId = confirmation?.chainId ?? chainId;
const [toastVisible, setToastVisible] = useState(false);
const t = useI18nContext();
const networkInfo = useSelector((state) =>
Expand Down

0 comments on commit 4f4d14d

Please sign in to comment.