layout component started

This commit is contained in:
victorAnumudu
2024-12-06 03:53:30 +01:00
parent cab73be4d0
commit 53726ad8eb
10 changed files with 66 additions and 44 deletions
+5 -1
View File
@@ -1,6 +1,8 @@
import React, { useEffect, useState } from 'react'
import { Outlet } from 'react-router-dom'
import BSMainLoader from '../loaders/BSMainLoader'
import Layout from '../layout/Layout'
export default function UserExist() {
@@ -19,7 +21,9 @@ export default function UserExist() {
{loading ?
<BSMainLoader />
:
<Outlet />
<Layout>
<Outlet />
</Layout>
}
</>
)