dashboard: fix server imports in client
This commit is contained in:
@@ -218,8 +218,3 @@ export async function upsertProfile({
|
||||
],
|
||||
});
|
||||
}
|
||||
|
||||
export function getProfileName(profile: IServiceProfile | undefined | null) {
|
||||
if (!profile) return 'No name';
|
||||
return [profile.firstName, profile.lastName].filter(Boolean).join(' ');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user