()
| 40 | }; |
| 41 | |
| 42 | const destroyPickr = () => { |
| 43 | if (pickrObj.current) { |
| 44 | pickrObj.current.destroy(); |
| 45 | pickrObj.current = null; |
| 46 | } |
| 47 | }; |
| 48 | |
| 49 | const initPickr = () => { |
| 50 | /* pickr does not have way to update options, need to |
no test coverage detected