From efeaabe18c6499d56c313a0ba31a96bb30ed66e9 Mon Sep 17 00:00:00 2001
From: Monalisha Mishra <mishramonalisha76@gmail.com>
Date: Mon, 24 Jun 2024 16:41:52 +0530
Subject: [PATCH] fix: fixed the example file

---
 .../src/app/ChatUITest/ChatViewComponent.tsx        | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/packages/examples/sdk-frontend-react/src/app/ChatUITest/ChatViewComponent.tsx b/packages/examples/sdk-frontend-react/src/app/ChatUITest/ChatViewComponent.tsx
index 66beffbd1..599095b33 100644
--- a/packages/examples/sdk-frontend-react/src/app/ChatUITest/ChatViewComponent.tsx
+++ b/packages/examples/sdk-frontend-react/src/app/ChatUITest/ChatViewComponent.tsx
@@ -1,6 +1,10 @@
 import styled from 'styled-components';
 
-import { ChatView, MODAL_BACKGROUND_TYPE } from '@pushprotocol/uiweb';
+import {
+  ChatView,
+  CreateGroupModal,
+  MODAL_BACKGROUND_TYPE,
+} from '@pushprotocol/uiweb';
 import { Section } from '../components/StyledComponents';
 import Img from '../../assets/epnsLogo.png';
 import { CHAT_ID } from '../constants';
@@ -17,7 +21,12 @@ const ChatViewComponentTest = () => {
 
       <ChatViewComponentCard>
         {/* uncomment the below code to test create group modal */}
-        {/* <CreateGroupModal onClose={()=>{console.log('in close')}}  modalBackground={MODAL_BACKGROUND_TYPE.OVERLAY} modalPositionType={MODAL_POSITION_TYPE.RELATIVE}/> */}
+        <CreateGroupModal
+          onClose={() => {
+            console.log('in close');
+          }}
+          modalBackground={MODAL_BACKGROUND_TYPE.OVERLAY}
+        />
         <ChatView
           onVerificationFail={() => console.log('Verification Failed')}
           chatId={CHAT_ID}