X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/47b0bfe47e6f13d549897149b0abc4a72ba8ac88..2ec82213d1dafb17b7a445451fe6e49cff632475:/src/components/topic/topic.svelte?ds=inline

diff --git a/src/components/topic/topic.svelte b/src/components/topic/topic.svelte
index 0b73d44..c0dbfbc 100644
--- a/src/components/topic/topic.svelte
+++ b/src/components/topic/topic.svelte
@@ -5,7 +5,7 @@
 	import Post from '$/components/post/post.svelte';
 	import { readableTime } from '$/utils/readable_time.js';
 
-	$: remainingTime = topic ? topic.updated_at + topic.ttl - Date.now() : 0;
+	$: remainingTime = topic.updated_at + topic.ttl - Date.now();
 	$: remaining = readableTime(remainingTime);
 </script>
 
