fixed qr data
This commit is contained in:
parent
de161c4412
commit
9aa0b1b4b2
|
@ -29,5 +29,4 @@
|
||||||
(r/create-element default-camera (clj->js (merge {:inverted true} props))))
|
(r/create-element default-camera (clj->js (merge {:inverted true} props))))
|
||||||
|
|
||||||
(defn get-qr-code-data [code]
|
(defn get-qr-code-data [code]
|
||||||
(when (= "QR_CODE" (.-type code))
|
(.-data code))
|
||||||
(.-data code)))
|
|
Loading…
Reference in New Issue