added prettier settings

This commit is contained in:
daniel31x13
2023-12-29 12:21:22 -05:00
parent e4fc8948fa
commit ee6dcdcc5b
21 changed files with 480 additions and 291 deletions
@@ -1,7 +1,9 @@
import { LinkIncludingShortenedCollectionAndTags } from "@/types/global";
import React from "react";
export default function LinkDate({ link }: {
export default function LinkDate({
link,
}: {
link: LinkIncludingShortenedCollectionAndTags;
}) {
const formattedDate = new Date(link.createdAt as string).toLocaleString(
@@ -10,7 +12,7 @@ export default function LinkDate({ link }: {
year: "numeric",
month: "short",
day: "numeric",
},
}
);
return (