diff --git a/client/src/components/UserEdit.tsx b/client/src/components/UserEdit.tsx index 8bcef4e..14b430a 100644 --- a/client/src/components/UserEdit.tsx +++ b/client/src/components/UserEdit.tsx @@ -43,23 +43,25 @@ export default function UserEdit({ userId }: UserEditProps) { - - - + {user?.id === currentUser?.id ? undefined : ( + + + + )} @@ -83,19 +85,21 @@ export default function UserEdit({ userId }: UserEditProps) { - - - + {user?.id === currentUser?.id ? undefined : ( + + + + )}