Add error boundary to nake frontend more resiliant

Allows users to recover from errors in userStorage

Is related to #23
This commit is contained in:
Thomas Nordquist
2019-01-18 13:13:36 +01:00
parent f462e7a881
commit 353081175b
3 changed files with 123 additions and 15 deletions

View File

@@ -1,3 +1,4 @@
import { rendererEvents, trackError, trackUserInteraction } from '../../events'
let userId = window.localStorage.getItem('userId')
const sha1 = require('sha1')