We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
// @ts-expect-error
1 parent 86748a6 commit c879d2bCopy full SHA for c879d2b
1 file changed
src/lib/sell/index.tsx
@@ -285,13 +285,11 @@ function SellOrderPreview(props: {
285
const startDate = props.startAt === "NOW" ? dayjs() : dayjs(props.startAt);
286
const start = startDate.format("MMM D h:mm a").toLowerCase();
287
288
- // @ts-expect-error fromNow not typed
289
const startFromNow = startDate.fromNow();
290
291
const endDate = roundEndDate(props.endsAt);
292
const end = endDate.format("MMM D h:mm a").toLowerCase();
293
294
295
const endFromNow = endDate.fromNow();
296
297
const realDuration = endDate.diff(startDate);
0 commit comments