suspense loading added and made socket to trigger after login
This commit was merged in pull request #853.
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user