* Chore disable git submodule for web-client and app-backend * Chore add newest source code of app-backend and web-client --------- Co-authored-by: Hien To <tominhhien97@gmail.com>
13 lines
303 B
TypeScript
13 lines
303 B
TypeScript
import { displayDate } from "@/_utils/datetime";
|
|
import React from "react";
|
|
|
|
type Props = {
|
|
timestamp: number;
|
|
};
|
|
|
|
const HistoryItemDate: React.FC<Props> = ({ timestamp }) => {
|
|
return <p className="text-gray-400 text-xs">{displayDate(timestamp)}</p>;
|
|
};
|
|
|
|
export default React.memo(HistoryItemDate);
|