diff --git a/components/FileListing.tsx b/components/FileListing.tsx index 656a764..8018250 100644 --- a/components/FileListing.tsx +++ b/components/FileListing.tsx @@ -65,13 +65,13 @@ const FileListItem: FunctionComponent<{
{c.name}
-
+
{new Date(c.lastModifiedDateTime).toLocaleString(undefined, { dateStyle: 'short', timeStyle: 'short', })}
-
{humanFileSize(c.size)}
+
{humanFileSize(c.size)}
) } @@ -130,8 +130,8 @@ const FileListing: FunctionComponent<{ query?: ParsedUrlQuery }> = ({ query }) =
Name
-
Last Modified
-
Size
+
Last Modified
+
Size
{imagesInFolder.length !== 0 && ( @@ -197,6 +197,7 @@ const FileListing: FunctionComponent<{ query?: ParsedUrlQuery }> = ({ query }) = case preview.video: return + case preview.audio: return