(key: string, value: string)
| 1 | export const getStorageItem = (key: string) => { |
| 2 | return localStorage.getItem(key) |
| 3 | } |
| 4 | export const setStorageItem = (key: string, value: string) => { |
| 5 | try { |
| 6 | localStorage.setItem(key, value) |
| 7 | } catch (_e) { |
| 8 | return |
| 9 | } |
| 10 | } |
| 11 |
no outgoing calls
no test coverage detected