File tree Expand file tree Collapse file tree 3 files changed +0
-39
lines changed Expand file tree Collapse file tree 3 files changed +0
-39
lines changed Original file line number Diff line number Diff line change @@ -70,24 +70,6 @@ export class User {
70
70
71
71
@Prop ( { type : Boolean , required : true , default : true } )
72
72
prefersDarkTheme : boolean ;
73
-
74
- @Prop ( { type : Array , required : true , default : [ ] } )
75
- likedSongs : string [ ] ;
76
-
77
- @Prop ( { type : Array , required : true , default : [ ] } )
78
- following : string [ ] ;
79
-
80
- @Prop ( { type : Array , required : true , default : [ ] } )
81
- likedComments : string [ ] ;
82
-
83
- @Prop ( { type : Array , required : true , default : [ ] } )
84
- dislikedComments : string [ ] ;
85
-
86
- @Prop ( { type : Array , required : true , default : [ ] } )
87
- notifications : string [ ] ;
88
-
89
- @Prop ( { type : Array , required : true , default : [ ] } )
90
- achievements : string [ ] ;
91
73
}
92
74
93
75
export const UserSchema = SchemaFactory . createForClass ( User ) ;
Original file line number Diff line number Diff line change @@ -18,12 +18,6 @@ export type LoggedUserData = {
18
18
creationDate : string ;
19
19
lastEdited : string ;
20
20
lastLogin : string ;
21
- likedSongs : string [ ] ; // Assuming the array contains strings
22
- following : string [ ] ; // Assuming the array contains strings
23
- likedComments : string [ ] ; // Assuming the array contains strings
24
- dislikedComments : string [ ] ; // Assuming the array contains strings
25
- notifications : string [ ] ; // Assuming the array contains strings
26
- achievements : string [ ] ; // Assuming the array contains strings
27
21
createdAt : string ;
28
22
updatedAt : string ;
29
23
id : string ;
@@ -60,7 +54,4 @@ export type UserProfileData = {
60
54
description : string ;
61
55
profileImage : string ;
62
56
socialLinks : SocialLinks ;
63
- likedSongs : string [ ] ;
64
- following : string [ ] ;
65
- achievements : string [ ] ;
66
57
} ;
Original file line number Diff line number Diff line change @@ -15,9 +15,6 @@ const UserProfile = ({ userData }: UserProfileProps) => {
15
15
description,
16
16
profileImage,
17
17
socialLinks,
18
- likedSongs,
19
- following,
20
- achievements,
21
18
} = userData ;
22
19
23
20
return (
@@ -34,7 +31,6 @@ const UserProfile = ({ userData }: UserProfileProps) => {
34
31
< p className = 'text-gray-500' > Last Login: { lastLogin . toLocaleString ( ) } </ p >
35
32
< p className = 'text-gray-500' > Login Streak: { loginStreak } </ p >
36
33
< p className = 'text-gray-500' > Play Count: { playCount } </ p >
37
- < p className = 'text-gray-500' > Following: { following } </ p >
38
34
< ul className = 'mt-4' >
39
35
{ Object . keys ( socialLinks ) . map ( ( key , index ) => {
40
36
const link = socialLinks [ key as SocialLinksTypes ] ;
@@ -49,14 +45,6 @@ const UserProfile = ({ userData }: UserProfileProps) => {
49
45
) ;
50
46
} ) }
51
47
</ ul >
52
- < ul > </ ul >
53
- < ul className = 'mt-4' >
54
- { achievements . map ( ( achievement , index ) => (
55
- < li key = { index } className = 'text-gray-500' >
56
- { achievement }
57
- </ li >
58
- ) ) }
59
- </ ul >
60
48
</ section >
61
49
) ;
62
50
} ;
You can’t perform that action at this time.
0 commit comments