Fix broken UI package build (#1990)

* Use path instead of alias

* Add missing pacakges

* Use path in viewers

* Use path in contextProviders

* Add base to config

* Add conditionals for window

* Copy config to avoid breaking build

* Update and lock versions

* Update lock file

* Remove scaling config

* Fix broken versions of react date

* Fix broken dev
This commit is contained in:
Igor Octaviano authored and GitHub committed 2020-08-14 14:25:08 -04:00
1 parent e04f74499f
commit ef163cd702
93 files changed
+3244 -297

No files matched your search

@@ -61,7 +61,7 @@ const ErrorBoundary = ({
title={'Something went wrong'}
onClose={() => {
setIsOpen(false);
if (fallbackRoute) {
if (fallbackRoute && typeof window !== 'undefined') {
window.location = fallbackRoute;
}
}}