'use client';
import { TabContext, TabList, TabPanel } from '@mui/lab';
import { Paper, Tab } from '@mui/material';
import { Suspense, useState } from 'react';
import { ProfileContextProvider } from '../contexts/ProfileContextProvider';
import Dashboard from './components/Dashboard/Dashboard';
import Settings from './components/Settings/Settings';
function Analytics() {
return (
Analytics
);
}
enum TabValue {
DASHBOARD = 'DASHBOARD',
ANALYTICS = 'ANALYTICS',
SETTINGS = 'SETTINGS'
}
const tabPanelStyle = { margin: 0, padding: 0 };
export default function Home() {
const [value, setValue] = useState(TabValue.DASHBOARD);
const handleChange = (_: React.SyntheticEvent, newValue: TabValue) => {
setValue(newValue);
};
const tabStyle = {
color: (tabValue: TabValue) =>
value === tabValue ? { color: "'primary.main'" } : { color: 'inherit' }
};
return (
Loading...}>
);
}