Skip to content

Commit

Permalink
Testing Error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Navnoorsinghmahal committed Dec 3, 2024
1 parent a2403bc commit 99defe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/pages/DashboardPage/QRCodeShare/QRCodeShare.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import QRCode from "react-qr-code"; // Import from react-qr-code
import "bootstrap/dist/css/bootstrap.min.css"; // Import Bootstrap CSS
import "./QRCodeShare.css"; // Import the CSS file for styling
import { useNavigate } from "react-router-dom"; // Import useNavigate
import { envConfigFrontend } from "../../../envConfig";
import { envConfig, envConfigFrontend } from "../../../envConfig";

const QRCodeShare = ({
selectedDemographic,
Expand All @@ -13,7 +13,7 @@ const QRCodeShare = ({
timeframe,
currUser,
}) => {
const VITE_FRONTEND_URL = envConfigFrontend();
const VITE_FRONTEND_URL = envConfig();

const [showModal, setShowModal] = useState(false); // Modal visibility state
const [shareSuccess, setShareSuccess] = useState(null); // State to track success or failure
Expand Down

0 comments on commit 99defe7

Please sign in to comment.