@@ -23,7 +23,7 @@ const QRCodeScannerModal: React.FC = () => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<FloatButton type="primary" onClick={() => setVisible(true)} icon={<CameraOutlined />} shape="circle" />
|
<FloatButton type="primary" onClick={() => setVisible(true)} icon={<CameraOutlined />} shape="circle" />
|
||||||
<Modal open={visible} onCancel={() => setVisible(false)} footer={null} title={t("scanner.title")}>
|
<Modal open={visible} destroyOnClose onCancel={() => setVisible(false)} footer={null} title={t("scanner.title")}>
|
||||||
<Space direction="vertical" style={{ width: "100%" }}>
|
<Space direction="vertical" style={{ width: "100%" }}>
|
||||||
<p>{t("scanner.description")}</p>
|
<p>{t("scanner.description")}</p>
|
||||||
<QrScanner
|
<QrScanner
|
||||||
|
|||||||
Reference in New Issue
Block a user