Closed nagy-nabil closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
pos | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 20, 2023 7:41pm |
pos-xpe1 | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 20, 2023 7:41pm |
it's now support use qr while creating product and to pick items in order
but there's an error, if you open the order pick modal then product create modal, then tried to use qr in order won't render the qr
I guess it has to do with useEffect
in Qrcode.tsx
OR there could be another reason, in Qrcode
component I render the qr in div with id of const qrcodeRegionId = "html5qr-code-full-region";
and as we know we cannot have two elements with the same id this could be the one making problems will try to change it anyway
OR there could be another reason, in
Qrcode
component I render the qr in div with id ofconst qrcodeRegionId = "html5qr-code-full-region";
and as we know we cannot have two elements with the same id this could be the one making problems will try to change it anyway
YUB guess this was it
Close #4