import React from 'react'; export default function ErrorModal() { const [show, setShow] = React.useState(true); const close = () => { setShow(false); }; return (
{show ? (
QR Scanner is not working
Please make sure a camera is available on your device. Try closing your browser and opening it again, if it doesn't work, please contact support.
) : ( '' )}
); }