Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
listlessbird committed Nov 4, 2024
1 parent 23d6718 commit d3aced9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/app/(history)/history/(item)/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function GeneratedAsset({ asset }: { asset: GeneratedAssetType }) {
videoUrl,
} = asset;

const formatDate = (dateString: string) => {
const formatDate = (dateString: string | Date) => {
return new Intl.DateTimeFormat("en-US", {
year: "numeric",
month: "short",
Expand Down

0 comments on commit d3aced9

Please sign in to comment.