Slight refactor
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import { Box } from '@mantine/core';
|
||||
import { useCommonHooks } from 'hooks';
|
||||
import { Outlet } from 'react-router-dom';
|
||||
|
||||
export function MainLayout({ theme }: any) {
|
||||
export function MainLayout() {
|
||||
const { theme } = useCommonHooks();
|
||||
return (
|
||||
<Box
|
||||
style={{
|
||||
|
||||
Reference in New Issue
Block a user