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:
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;
|
||||
}
|
||||
}}
|
||||
|
||||
Reference in new issue
Block a user