Skip to content

Commit

Permalink
fix: avatar in miniprofile
Browse files Browse the repository at this point in the history
  • Loading branch information
Regikon committed Dec 20, 2024
1 parent 6d51d4c commit 948344a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ export interface ProfileMinicardProps {
fullName: string;
city?: string;
contacts?: string;
avatar?: string;
}

export class ProfileMinicard extends Component {
constructor({ elementClass = '', fullName, city, contacts }: ProfileMinicardProps) {
super({ elementClass, fullName, city, contacts });
constructor({ elementClass = '', fullName, city, contacts, avatar }: ProfileMinicardProps) {
super({ elementClass, fullName, city, contacts, avatar });
}

render() {
Expand Down

0 comments on commit 948344a

Please sign in to comment.