From 35e840156092e17c78167340ddccbbd09b6e1753 Mon Sep 17 00:00:00 2001
From: Anastasiia Solop <35258279+anastasiya1155@users.noreply.github.com>
Date: Thu, 8 Feb 2024 09:10:49 -0600
Subject: [PATCH] fix error in folder chip when path is undefined (#1229)
---
client/src/components/MarkdownWithCode/LinkRenderer.tsx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/client/src/components/MarkdownWithCode/LinkRenderer.tsx b/client/src/components/MarkdownWithCode/LinkRenderer.tsx
index c7201959f2..f4a9aab394 100644
--- a/client/src/components/MarkdownWithCode/LinkRenderer.tsx
+++ b/client/src/components/MarkdownWithCode/LinkRenderer.tsx
@@ -88,7 +88,11 @@ const LinkRenderer = ({
return (
<>
{filePath.endsWith('/') ? (
-
+
) : (