From 40db7838d405c19db2d290de0c497cdc46ca220b Mon Sep 17 00:00:00 2001 From: KevinX8 Date: Fri, 18 Feb 2022 20:48:33 +0000 Subject: [PATCH] Fix build error --- src/components/layout/partials/FooterNav.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/layout/partials/FooterNav.js b/src/components/layout/partials/FooterNav.js index 6a61ded..32014de 100644 --- a/src/components/layout/partials/FooterNav.js +++ b/src/components/layout/partials/FooterNav.js @@ -1,14 +1,14 @@ import React, { useContext } from "react"; import classNames from "classnames"; import { Link } from "react-router-dom"; -import { ChangeLogContext, ShowBraveContext } from "../../../App"; +import { ManagerContext, ShowBraveContext } from "../../../App"; import { SiBrave, SiAdguard } from "react-icons/si"; import { ADGUARD, BRAVE } from "../../../constants/links"; const FooterNav = ({ className, ...props }) => { const classes = classNames("footer-nav", className); - const vancedManagerAPKUrl = useContext(ChangeLogContext)?.manager?.url; + const vancedManagerAPKUrl = useContext(ManagerContext)?.assets[0]?.browser_download_url; const showBrave = useContext(ShowBraveContext); return (