FIX: Error Fix in Previous Commit
This commit is contained in:
@@ -22,12 +22,7 @@ const Navbar: React.FC<NavbarProps> = ({
|
|||||||
}) => {
|
}) => {
|
||||||
const [showAuthModal, setShowAuthModal] = useState(false);
|
const [showAuthModal, setShowAuthModal] = useState(false);
|
||||||
const { isLoggedIn } = useAuth();
|
const { isLoggedIn } = useAuth();
|
||||||
<<<<<<< HEAD
|
|
||||||
const isVideoPage = location.pathname.includes("/EduGuru");
|
|
||||||
const [showSideBar, setShowSideBar] = useState(false);
|
const [showSideBar, setShowSideBar] = useState(false);
|
||||||
=======
|
|
||||||
>>>>>>> 595190b0a004153d7253d5a44ae09e5d892a1bef
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (showAuthModal) {
|
if (showAuthModal) {
|
||||||
document.body.style.overflow = "hidden";
|
document.body.style.overflow = "hidden";
|
||||||
|
|||||||
Reference in New Issue
Block a user