suspense loading added and made socket to trigger after login

This commit was merged in pull request #853.
This commit is contained in:
victorAnumudu
2024-11-23 05:56:17 +01:00
parent 6b95b8d1ce
commit c889c0b093
8 changed files with 114 additions and 95 deletions
+11
View File
@@ -0,0 +1,11 @@
import React from 'react'
import SocketIOContextProvider from '../components/Contexts/SocketIOContext'
import { Navigate, Outlet, useNavigate } from "react-router-dom";
export default function SocketConnection() {
return (
<SocketIOContextProvider>
<Outlet />
</SocketIOContextProvider>
)
}