mirror of
https://github.com/tale/headplane.git
synced 2026-08-18 09:03:14 +00:00
fix display name
This commit is contained in:
committed by
Aarnav Tale
parent
f7547a4c62
commit
ad469129bc
@@ -8,8 +8,7 @@ interface DeleteProps {
|
||||
}
|
||||
|
||||
export default function DeleteUser({ user, isOpen, setIsOpen }: DeleteProps) {
|
||||
const name =
|
||||
(user.displayName?.length ?? 0) > 0 ? user.displayName : user.name;
|
||||
const name = user.name;
|
||||
|
||||
return (
|
||||
<Dialog isOpen={isOpen} onOpenChange={setIsOpen}>
|
||||
|
||||
Reference in New Issue
Block a user