bito-code-review[bot] commented on code in PR #37141:
URL: https://github.com/apache/superset/pull/37141#discussion_r2824931169
##########
superset-frontend/src/pages/Home/index.tsx:
##########
@@ -147,6 +147,7 @@ export const LoadingCards = ({ cover }: LoadingProps) => (
);
function Welcome({ user, addDangerToast }: WelcomeProps) {
+ const { md: isNotMobile } = Grid.useBreakpoint();
Review Comment:
<!-- Bito Reply -->
Great! The default value `= true` for `isNotMobile` ensures the app assumes
a non-mobile state initially, preventing the flash of mobile content until
breakpoint data loads.
**superset-frontend/src/pages/Home/index.tsx**
```
const { md: isNotMobile = true } = Grid.useBreakpoint();
```
--
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]