-
-
-
-
+
+ } />
+ } />
+
diff --git a/client/src/pages/messaging/index.tsx b/client/src/pages/messaging/index.tsx
index 7d1f633..eab5828 100644
--- a/client/src/pages/messaging/index.tsx
+++ b/client/src/pages/messaging/index.tsx
@@ -1,5 +1,5 @@
import React, { useCallback, useContext, useEffect, useRef, useState } from 'react';
-import { useHistory, useParams } from 'react-router-dom';
+import { useNavigate, useParams } from 'react-router-dom';
import {
createChatInstance, utils, TypeUsersInChannel, setConfig
@@ -48,12 +48,13 @@ const Chat = () => {
const [deliveredID, setDeliveredID] = useState