run prettier

Signed-off-by: Joe Patterson <jrwpatterson@gmail.com>
This commit is contained in:
Joe Patterson
2022-11-23 11:20:14 +10:00
parent b580cb3bd2
commit c9b75f8c54
2 changed files with 8 additions and 2 deletions
@@ -63,7 +63,10 @@ const CardTitle = (props: { title: string }) => (
);
/** @public */
export const GroupProfileCard = (props: { variant?: InfoCardVariants, hideLinks?: boolean }) => {
export const GroupProfileCard = (props: {
variant?: InfoCardVariants;
hideLinks?: boolean;
}) => {
const catalogApi = useApi(catalogApiRef);
const alertApi = useApi(alertApiRef);
const { entity: group } = useEntity<GroupEntity>();
@@ -58,7 +58,10 @@ const CardTitle = (props: { title?: string }) =>
) : null;
/** @public */
export const UserProfileCard = (props: { variant?: InfoCardVariants, hideLinks?: boolean }) => {
export const UserProfileCard = (props: {
variant?: InfoCardVariants;
hideLinks?: boolean;
}) => {
const { entity: user } = useEntity<UserEntity>();
if (!user) {
return <Alert severity="error">User not found</Alert>;