mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
19 lines
652 B
JavaScript
19 lines
652 B
JavaScript
import React from 'react';
|
|
import { ErrorBoundary } from 'react-error-boundary';
|
|
import DashboardTopbar from 'components/Dashboard/DashboardTopbar';
|
|
import DashboardContentRoute from 'components/Dashboard/DashboardContentRoute';
|
|
import DashboardFooter from 'components/Dashboard/DashboardFooter';
|
|
import DashboardErrorBoundary from './DashboardErrorBoundary';
|
|
|
|
export default function () {
|
|
return (
|
|
<ErrorBoundary FallbackComponent={DashboardErrorBoundary}>
|
|
<div className="dashboard-content" id="dashboard">
|
|
<DashboardTopbar />
|
|
<DashboardContentRoute />
|
|
<DashboardFooter />
|
|
</div>
|
|
</ErrorBoundary>
|
|
);
|
|
}
|