fixes for issue #168

This commit is contained in:
Siddarth Pai 2024-07-27 00:00:34 +05:30
parent 417872c936
commit e3a764d06f

View file

@ -287,7 +287,7 @@ function LinkComponent({
<div className="text-lg text-[#fff] mt-4 line-clamp-2">
{title.replace(/(<---chunkId: .*?\n.*?\n---->)/g, "")}
</div>
<div>
<div className="overflow-hidden text-ellipsis whitespace-nowrap">
{url.replace("https://supermemory.ai", "").split("#")[0] ?? "/"}
</div>
</>