export let topic;
import { _ } from 'svelte-i18n';
- import { readableTime } from '../../utils/readable_time.js';
+ import { readableTime } from '$/utils/readable_time.js';
$: remainingTime = (topic.updated_at + topic.ttl) - Date.now();
$: remaining = readableTime(remainingTime);