Fix bug on missing others, adds new tests
This commit is contained in:
parent
50d4517d0d
commit
8ee78d1b90
59 changed files with 2745 additions and 1450 deletions
|
@ -71,8 +71,8 @@ const MainSVG = styled('svg', {
|
|||
|
||||
function ErrorFallback({ error, resetErrorBoundary }) {
|
||||
React.useEffect(() => {
|
||||
console.error(error)
|
||||
const copy = 'Sorry, something went wrong. Clear canvas and continue?'
|
||||
console.error(error)
|
||||
if (window.confirm(copy)) {
|
||||
state.send('CLEARED_PAGE')
|
||||
resetErrorBoundary()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue