File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/components/interactive Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,15 +61,15 @@ export default function UserMenu({ directusUrl, provider = "authentik" }: Props)
6161 } , [ name , email ] ) ;
6262
6363 if ( loading ) {
64- return < div className = "hidden md: flex w-28 h-9 rounded-full bg-secondary-100 animate-pulse" /> ;
64+ return < div className = "flex w-28 h-9 rounded-full bg-secondary-100 animate-pulse" /> ;
6565 }
6666
6767 // Logged out → show Login button
6868 if ( ! name ) {
6969 const u = new URL ( currentUrl ) ;
7070 const loginHref = `${ directusUrl } /auth/login/${ provider } ?redirect=${ encodeURIComponent ( u . origin ) } ` ;
7171 return (
72- < Button asChild variant = "secondary" className = "hidden md: inline-flex" >
72+ < Button asChild variant = "secondary" className = "inline-flex" >
7373 < a href = { loginHref } > Login</ a >
7474 </ Button >
7575 ) ;
You can’t perform that action at this time.
0 commit comments