thêm quét QR đăng nhập, sửa lại logic để gọi api bằng ip thiết bị

This commit is contained in:
Tran Anh Tuan
2025-11-10 16:12:52 +07:00
parent c26de5aefc
commit 1a534eccb0
10 changed files with 224 additions and 218 deletions

View File

@@ -30,7 +30,7 @@ export const InfoSection: React.FC<InfoSectionProps> = ({
{
label: "Thời gian kết thúc",
value:
fishingLog.end_at !== "0001-01-01T00:00:00Z"
fishingLog.end_at.toString() !== "0001-01-01T00:00:00Z"
? new Date(fishingLog.end_at).toLocaleString()
: "-",
},