From eb70e9e026263a1ab3c72021d6bea4505d542fa8 Mon Sep 17 00:00:00 2001 From: Harish Mohan Raj Date: Fri, 17 Nov 2023 17:32:31 +0530 Subject: [PATCH] Render the url's properly in the chat (#33) --- main.wasp | 2 +- src/client/ChatPage.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.wasp b/main.wasp index 564cf63..f476a1d 100644 --- a/main.wasp +++ b/main.wasp @@ -66,7 +66,7 @@ app chatApp { ("node-fetch", "3.3.0"), ("react-hook-form", "^7.45.4"), ("stripe", "11.15.0"), - ("react-markdown", "9.0.0"), + ("markdown-to-jsx", "7.3.2"), ], } diff --git a/src/client/ChatPage.jsx b/src/client/ChatPage.jsx index f3d077f..d556921 100644 --- a/src/client/ChatPage.jsx +++ b/src/client/ChatPage.jsx @@ -6,7 +6,7 @@ import logout from '@wasp/auth/logout'; import { useState, useEffect, useRef } from 'react'; // import { Chat, Conversation } from '@wasp/entities' import { Link } from '@wasp/router' -import Markdown from 'react-markdown' +import Markdown from "markdown-to-jsx"; import logo from './static/captn-logo.png' import createChat from '@wasp/actions/createChat'