diff --git a/client/src/component/Footer.jsx b/client/src/component/Footer.jsx index b504d3c..f5987e2 100644 --- a/client/src/component/Footer.jsx +++ b/client/src/component/Footer.jsx @@ -4,6 +4,7 @@ import { Link } from 'react-router-dom'; import { FaXTwitter } from "react-icons/fa6"; import { FaGithub, FaLinkedin, FaYoutube } from 'react-icons/fa'; import { useEffect, useState } from 'react'; +import VisitorCounter from './Footers/VisitorCount'; const Footer = (props) => { const [email, setEmail] = useState(""); @@ -98,7 +99,7 @@ const Footer = (props) => {
Total Visitors: {visitorCount}
+ ) : ( +Loading visitor count...
+ )} +