Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
zango-frontend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 52317586
authored
2024-06-15 15:40:36 +0530
by
jaymehta
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
.
1 parent
58e3a2de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
components/layout/Generics/GenericLayout.js
components/layout/Generics/GenericLayout.js
View file @
5231758
...
@@ -6,6 +6,7 @@ import { GenericHeader } from "./GenericHeader";
...
@@ -6,6 +6,7 @@ import { GenericHeader } from "./GenericHeader";
import
{
GenericSidebar
}
from
"./GenericSidebar"
;
import
{
GenericSidebar
}
from
"./GenericSidebar"
;
import
{
getActivitiesForAdmin
}
from
"../../../redux/actions/activityAction"
;
import
{
getActivitiesForAdmin
}
from
"../../../redux/actions/activityAction"
;
import
{
useRouter
}
from
"next/router"
;
import
{
useRouter
}
from
"next/router"
;
import
{
ToastContainer
}
from
"react-bootstrap"
;
export
const
GenericLayout
=
({
children
})
=>
{
export
const
GenericLayout
=
({
children
})
=>
{
const
dispatch
=
useDispatch
();
const
dispatch
=
useDispatch
();
...
@@ -45,7 +46,7 @@ export const GenericLayout = ({ children }) => {
...
@@ -45,7 +46,7 @@ export const GenericLayout = ({ children }) => {
}}
}}
>
>
<
GenericSidebar
isRoute
=
{
isRoute
}
/
>
<
GenericSidebar
isRoute
=
{
isRoute
}
/
>
<
ToastContainer
position
=
"bottom-right"
/>
<
ToastContainer
position
=
"bottom-right"
/>
<
div
<
div
style
=
{{
style
=
{{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment