michael-s-molina commented on code in PR #41205:
URL: https://github.com/apache/superset/pull/41205#discussion_r3444190285
##########
superset-frontend/src/views/App.tsx:
##########
@@ -79,42 +84,137 @@ const LocationPathnameLogger = () => {
return <></>;
};
+const CHAT_PANEL_DEFAULT_WIDTH = 400;
+const CHAT_PANEL_MIN_WIDTH = 280;
+
+const RouteSwitch = () => (
+ <Switch>
+ {routes.map(({ path, Component, props = {}, Fallback = Loading }) => (
+ <Route path={path} key={path}>
+ <Suspense fallback={<Fallback />}>
+ <ErrorBoundary
+ css={css`
+ margin: 16px;
Review Comment:
We can use `theme.sizeUnit`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]