suggestions tweaks

This commit is contained in:
Kalle
2021-02-25 21:07:37 +02:00
parent 3258ddfd2c
commit 8f7e7eb0a4
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ const Suggestion = ({
</MyLink>
</Flex>
<Box>
<Box fontSize="sm" color={gray}>
<Box fontSize="sm" color={gray} mt={1}>
{new Date(suggestion.createdAt).toLocaleString()}
</Box>
<SubText mt={2}>+{suggestion.tier}</SubText>

View File

@@ -37,7 +37,7 @@ const getRawSuggestions = async () =>
suggestedUser: { select: userBasicSelection },
suggesterUser: { select: userBasicSelection },
},
orderBy: { createdAt: "desc" },
orderBy: { createdAt: "asc" },
});
const getSuggestions = async () => {