diff --git a/src/Components/Profile/Templates/TabsView.tsx b/src/Components/Profile/Templates/TabsView.tsx index 0d36a064..d95bbb89 100644 --- a/src/Components/Profile/Templates/TabsView.tsx +++ b/src/Components/Profile/Templates/TabsView.tsx @@ -55,8 +55,8 @@ export const TabsView = ({ attestations, userType, item, offers, needs, relation return (
updateActiveTab(1)} />
@@ -70,48 +70,48 @@ export const TabsView = ({ attestations, userType, item, offers, needs, relation {item.layer?.itemType.questlog && <> updateActiveTab(2)} />
- - {attestations - .filter(a => a.to.some(t => t.directus_users_id == item.user_created.id)) - .sort((a, b) => new Date(b.date_created).getTime() - new Date(a.date_created).getTime()) - .map((a, i) => ( - - - - - - ))} - + + {attestations + .filter(a => a.to.some(t => t.directus_users_id == item.user_created.id)) + .sort((a, b) => new Date(b.date_created).getTime() - new Date(a.date_created).getTime()) + .map((a, i) => ( + + + + + + ))} +
-
- {a.emoji} -
-
-
{a.text}
-
- -
-
-
- Avatar Tailwind CSS Component -
-
-
-
{getUserProfile(a.user_created.id)?.name}
-
{timeAgo(a.date_created)}
-
-
- -
+
+ {a.emoji} +
+
+
{a.text}
+
+ +
+
+
+ Avatar Tailwind CSS Component +
+
+
+
{getUserProfile(a.user_created.id)?.name}
+
{timeAgo(a.date_created)}
+
+
+ +
@@ -121,7 +121,7 @@ export const TabsView = ({ attestations, userType, item, offers, needs, relation <> - updateActiveTab(3)} /> + updateActiveTab(3)} />
@@ -159,7 +159,7 @@ export const TabsView = ({ attestations, userType, item, offers, needs, relation {item.layer?.itemType.relations && <> - updateActiveTab(7)} /> + updateActiveTab(7)} />