diff --git a/projects/app/src/pageComponents/chat/ChatQuoteList/index.tsx b/projects/app/src/pageComponents/chat/ChatQuoteList/index.tsx
index 657b9f0ae..6d05fac7a 100644
--- a/projects/app/src/pageComponents/chat/ChatQuoteList/index.tsx
+++ b/projects/app/src/pageComponents/chat/ChatQuoteList/index.tsx
@@ -13,16 +13,13 @@ const ChatQuoteList = ({
metadata: GetQuoteProps;
onClose: () => void;
}) => {
- return (
- <>
- {'collectionId' in metadata && (
-
- )}
- {'collectionIdList' in metadata && (
-
- )}
- >
- );
+ if ('collectionId' in metadata) {
+ return ;
+ } else if ('collectionIdList' in metadata) {
+ return ;
+ }
+
+ return null;
};
export default ChatQuoteList;