File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -20,32 +20,6 @@ interface User {
20
20
avatar ?: string ;
21
21
}
22
22
23
- /**
24
- * Interface for User
25
- * @date 3/22/2023 - 5:42:26 PM
26
- *
27
- * @typedef {User }
28
- */
29
-
30
- interface Certificate {
31
- id : string ;
32
- ref : string ;
33
- created_at : string ;
34
- updated_at : string ;
35
- metadata : Metadata ;
36
- answer : string ;
37
- user_id : string ;
38
- course : string ;
39
- type : string ;
40
- community : Community ;
41
- entity : string ;
42
- timestamp : number ;
43
- description : string ;
44
- submission : Submission ;
45
- minting : any ;
46
- }
47
-
48
-
49
23
/**
50
24
* Interface for Avatar component props
51
25
* @date 3/22/2023 - 5:42:18 PM
@@ -101,9 +75,6 @@ export default function Avatar({
101
75
} : AvatarProps ) : ReactElement {
102
76
const [ userAvatarLoaded , setUserAvatarLoaded ] = useState ( true ) ;
103
77
const initials = user ?. displayName ? user ?. displayName [ 0 ] : null ;
104
- const achievement = useSelector ( ( state ) => state . profileCertificate . current ) ;
105
- // const achievementInitials = achievement.metadata?.recipientName ? achievement?.metadata?.recipientName[0] : null;
106
-
107
78
108
79
const link = user ?. username && useLink ? `/profile/${ user . username } ` : "#" ;
109
80
You can’t perform that action at this time.
0 commit comments