fixed bug/issue: #11
This commit is contained in:
@@ -24,6 +24,7 @@ import Cookies from "js-cookie";
|
|||||||
import { useState, useEffect } from "react";
|
import { useState, useEffect } from "react";
|
||||||
import { deleteItem } from "@/utils/userActions";
|
import { deleteItem } from "@/utils/userActions";
|
||||||
import AddItemForm from "./AddItemForm";
|
import AddItemForm from "./AddItemForm";
|
||||||
|
import { formatDateTime } from "@/utils/userFuncs";
|
||||||
|
|
||||||
type Items = {
|
type Items = {
|
||||||
id: number;
|
id: number;
|
||||||
@@ -232,7 +233,7 @@ const ItemTable: React.FC = () => {
|
|||||||
</Tag.Root>
|
</Tag.Root>
|
||||||
)}
|
)}
|
||||||
</Table.Cell>
|
</Table.Cell>
|
||||||
<Table.Cell>{item.entry_created_at}</Table.Cell>
|
<Table.Cell>{formatDateTime(item.entry_created_at)}</Table.Cell>
|
||||||
<Table.Cell>
|
<Table.Cell>
|
||||||
<Button
|
<Button
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
|
Reference in New Issue
Block a user