Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 96e6b6853c | |||
| eddbc7e13f | |||
| e4d6725dea |
@@ -143,8 +143,8 @@ const asideNavLinks = [
|
||||
{name: 'Customers', status:1, icon: 'dot', to: RouteLinks.customerPage},
|
||||
{name: 'Billings', status:1, icon: 'dot', to: RouteLinks.billings},
|
||||
{name: 'Configurations', status:1, icon: 'arrow-right', subLinks: [
|
||||
{name: 'Sub. Settings', status:1, icon: 'dot', to: RouteLinks.offers },
|
||||
{name: 'Users Manager', status:1, icon: 'dot', to: RouteLinks.offers },
|
||||
{name: 'Product Settings', status:1, icon: 'dot', to: RouteLinks.offers },
|
||||
{name: 'Admin Manager', status:1, icon: 'dot', to: RouteLinks.offers },
|
||||
]
|
||||
},
|
||||
],
|
||||
|
||||
@@ -64,8 +64,7 @@ export default function BillingsCom() {
|
||||
<div className='w-full sm:max-w-48'>
|
||||
<select name='type' value={filter?.type} className='h-10 w-full p-2 rounded-md' onChange={handleFilter}>
|
||||
<option value=''>All</option>
|
||||
<option value='transaction_id'>Transaction ID</option>
|
||||
<option value='account_id'>Account ID</option>
|
||||
<option value='option_name'>Option Name</option>
|
||||
</select>
|
||||
</div>
|
||||
<div className='w-full sm:max-w-48'>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { createContext, useContext, useEffect, useState } from 'react'
|
||||
|
||||
const GeneralContextProvider = createContext({})
|
||||
const GeneralContextProviderInt = createContext({})
|
||||
|
||||
export default function GeneralLayoutContext({children}) {
|
||||
export default function GeneralLayoutContextInt({children}) {
|
||||
|
||||
const [theme, setTheme] = useState(null)
|
||||
|
||||
@@ -101,13 +101,13 @@ export default function GeneralLayoutContext({children}) {
|
||||
}
|
||||
|
||||
return (
|
||||
<GeneralContextProvider.Provider value={value}>
|
||||
<GeneralContextProviderInt.Provider value={value}>
|
||||
{children}
|
||||
</GeneralContextProvider.Provider>
|
||||
</GeneralContextProviderInt.Provider>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
export const generalLayoutContext = () => {
|
||||
return useContext(GeneralContextProvider)
|
||||
return useContext(GeneralContextProviderInt)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user