()
| 97 | // all the items on any change but just to demonstate the decryption ... |
| 98 | useEffect(() => { |
| 99 | async function init() { |
| 100 | const items = await Promise.all( |
| 101 | rows.map(async (row) => await decrypt(row)) |
| 102 | ) |
| 103 | |
| 104 | setItems(items) |
| 105 | } |
| 106 | |
| 107 | init() |
| 108 | }, [rows]) |