Update apps/explorer/src/app/components/seconds-ago/index.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
This commit is contained in:
parent
a160c54688
commit
5c9571766a
@ -18,11 +18,6 @@ export const SecondsAgo = ({ date, ...props }: SecondsAgoProps) => {
|
||||
return <>Date unknown</>;
|
||||
}
|
||||
|
||||
console.log(
|
||||
`now: ${now}, before: ${new Date(
|
||||
date
|
||||
).getTime()}, date getting passed in: ${date}`
|
||||
);
|
||||
|
||||
const timeAgoInSeconds = Math.floor((now - new Date(date).getTime()) / 1000);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user