refactor: add color initials to avatar, improve usage of user avatar (#753)
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import { UnstyledButton } from "@mantine/core";
|
||||
|
||||
import { UserAvatar } from "~/components/user-avatar";
|
||||
import { CurrentUserAvatar } from "~/components/user-avatar";
|
||||
import { UserAvatarMenu } from "~/components/user-avatar-menu";
|
||||
|
||||
export const UserButton = () => {
|
||||
return (
|
||||
<UserAvatarMenu>
|
||||
<UnstyledButton>
|
||||
<UserAvatar size="md" />
|
||||
<CurrentUserAvatar size="md" />
|
||||
</UnstyledButton>
|
||||
</UserAvatarMenu>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user