diff --git a/web/src/pages/user-profile/UserProfilePage/tabs/ProfileDetailsTab/ProfileDetailsTab.tsx b/web/src/pages/user-profile/UserProfilePage/tabs/ProfileDetailsTab/ProfileDetailsTab.tsx index a37b25b050..f281efdac1 100644 --- a/web/src/pages/user-profile/UserProfilePage/tabs/ProfileDetailsTab/ProfileDetailsTab.tsx +++ b/web/src/pages/user-profile/UserProfilePage/tabs/ProfileDetailsTab/ProfileDetailsTab.tsx @@ -1,4 +1,5 @@ import './style.scss'; +import { Fragment } from 'react/jsx-runtime'; import { m } from '../../../../../paraglide/messages'; import { LayoutGrid } from '../../../../../shared/components/LayoutGrid/LayoutGrid'; import { ChangePasswordModal } from '../../../../../shared/components/modals/ChangePasswordModal/ChangePasswordModal'; @@ -20,36 +21,36 @@ export const ProfileDetailsTab = () => { const authorizedApps = useUserProfile((s) => s.user.authorized_apps); return ( - -
- - {authorizedApps?.length === 0 && } - {isPresent(authorizedApps) && authorizedApps.length > 0 && ( - - )} -
- -
- ); -}; - -const AuthorizedAppsNoData = () => { - return ( - <> - - - - - + + +
+ + {authorizedApps?.length === 0 && } + {isPresent(authorizedApps) && authorizedApps.length > 0 && ( + + )} +
+ +
- +
+ ); +}; + +const AuthorizedAppsNoData = () => { + return ( + + + + + ); };