feat: update remix to latest version, use Promise.all to fetch all posts

This commit is contained in:
2024-12-24 16:53:34 +01:00
parent 1057d40d78
commit d7952ad640
5 changed files with 264 additions and 139 deletions

View File

@@ -1,4 +1,4 @@
export function useFormattedDate(_date: string) {
export function useFormattedDate(_date: Date) {
const date = new Date(_date);
const month = date.getUTCMonth().toString().padStart(2, "0");
const monthDate = date.getUTCDate().toString().padStart(2, "0");