Merge remote-tracking branch 'origin/main' into efril

This commit is contained in:
efrilm
2025-08-14 01:26:12 +07:00
9 changed files with 32 additions and 34 deletions
@@ -1,16 +1,13 @@
// Type Imports
import type { ChildrenType } from '@core/types'
import type { Locale } from '@configs/i18n'
// HOC Imports
import GuestOnlyRoute from '@/hocs/GuestOnlyRoute'
const Layout = async (props: ChildrenType & { params: Promise<{ lang: Locale }> }) => {
const params = await props.params
const Layout = async (props: ChildrenType) => {
const { children } = props
return <GuestOnlyRoute lang={params.lang}>{children}</GuestOnlyRoute>
return <GuestOnlyRoute>{children}</GuestOnlyRoute>
}
export default Layout
@@ -4,8 +4,6 @@
import Grid from '@mui/material/Grid2'
// Component Imports
import DistributedBarChartOrder from '@views/dashboards/crm/DistributedBarChartOrder'
import EarningReportsWithTabs from '@views/dashboards/crm/EarningReportsWithTabs'
// Server Action Imports
import Loading from '../../../../../../components/layout/shared/Loading'