mirror of
https://github.com/sasjs/server.git
synced 2026-01-14 09:20:06 +00:00
chore(web): refactor react code
This commit is contained in:
@@ -9,6 +9,7 @@ import Permission from './permission'
|
||||
import Profile from './profile'
|
||||
|
||||
import { AppContext, ModeType } from '../../context/appContext'
|
||||
import PermissionsContextProvider from '../../context/permissionsContext'
|
||||
|
||||
const StyledTab = styled(Tab)({
|
||||
background: 'black',
|
||||
@@ -64,7 +65,9 @@ const Settings = () => {
|
||||
<Profile />
|
||||
</StyledTabpanel>
|
||||
<StyledTabpanel value="permission">
|
||||
<Permission />
|
||||
<PermissionsContextProvider>
|
||||
<Permission />
|
||||
</PermissionsContextProvider>
|
||||
</StyledTabpanel>
|
||||
</TabContext>
|
||||
</Box>
|
||||
|
||||
Reference in New Issue
Block a user