File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11export function formatTimestamp ( timestamp : string | number ) : string {
2- const date = new Date ( timestamp * 1000 ) ;
2+ const date = new Date ( Number ( timestamp ) * 1000 ) ;
33 return new Intl . DateTimeFormat ( 'en-US' , {
44 year : 'numeric' ,
55 month : '2-digit' ,
Original file line number Diff line number Diff line change 11import { useQuery } from '@tanstack/react-query' ;
22import { useState , useEffect } from 'react' ;
33import { ArrowRight } from 'react-feather' ;
4- import { Link , NavLink } from 'react-router-dom' ;
4+ import { Link } from 'react-router-dom' ;
55import protectANewData from '@/assets/protect_a_new_data.png' ;
66import { Alert } from '@/components/Alert' ;
77import { CircularLoader } from '@/components/CircularLoader' ;
You can’t perform that action at this time.
0 commit comments