Skip to content

Commit

Permalink
fix: fixed UserAvatar typing
Browse files Browse the repository at this point in the history
  • Loading branch information
mkmak2 committed Nov 22, 2022
1 parent f12ea9c commit dd179c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/src/components/Avatar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ interface IProps {
isAdminComment?: boolean;
};

const UserAvatar = ({ avatar, name, isAdminComment = false }) => {
const UserAvatar: React.FC<IProps> = ({ avatar, name, isAdminComment = false }) => {
if (avatar) {
let image = avatar;
if (isObject(avatar)) {
Expand Down

0 comments on commit dd179c7

Please sign in to comment.