This commit is contained in:
Timothy Jaeryang Baek committed 2025-03-20 17:54:13 -07:00
1 parent 87a06a1976
commit d047eb46cc
1 file changed
+2 -2
@@ -128,11 +128,11 @@
{percentage.toFixed(2)}%
</span>
<span class="text-gray-500 dark:text-gray-500">
({document.distance.toFixed(4)})
({(document?.distance ?? 0).toFixed(4)})
</span>
{:else}
<span class="text-gray-500 dark:text-gray-500">
{document.distance.toFixed(4)}
{(document?.distance ?? 0).toFixed(4)}
</span>
{/if}
</div>