added createdAt info in user data and added types of elements to render in the list in order to have a more coherent look and a simpler api for the ElementList user

This commit is contained in:
Clément Le Bihan
2023-04-09 20:08:29 +02:00
parent 124f87c199
commit cf1e98f9e6
4 changed files with 62 additions and 18 deletions
+1
View File
@@ -2,6 +2,7 @@ interface UserData {
partyPlayed: number;
xp: number;
avatar: string | undefined;
createdAt: string;
}
export default UserData;