chore: cleanup

This commit is contained in:
dongchengjie
2024-06-26 08:24:43 +08:00
parent c89ccf7185
commit 4f1b8094a3
8 changed files with 10 additions and 29 deletions

View File

@@ -1,4 +1,3 @@
import dayjs from "dayjs";
import { useState } from "react";
import { useTranslation } from "react-i18next";
import { useLockFn } from "ahooks";
@@ -260,8 +259,3 @@ export const ProfileMore = (props: Props) => {
</>
);
};
function parseExpire(expire?: number) {
if (!expire) return "-";
return dayjs(expire * 1000).format("YYYY-MM-DD");
}