mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
17 lines
588 B
JavaScript
17 lines
588 B
JavaScript
import React from 'react';
|
|
import { ErrorBoundary } from 'react-error-boundary';
|
|
import DashboardTopbar from 'components/Dashboard/DashboardTopbar';
|
|
import DashboardContentRoutes from 'components/Dashboard/DashboardContentRoute';
|
|
import DashboardErrorBoundary from './DashboardErrorBoundary';
|
|
|
|
export default React.forwardRef(({}, ref) => {
|
|
return (
|
|
<ErrorBoundary FallbackComponent={DashboardErrorBoundary}>
|
|
<div className="dashboard-content" id="dashboard" ref={ref}>
|
|
<DashboardTopbar />
|
|
<DashboardContentRoutes />
|
|
</div>
|
|
</ErrorBoundary>
|
|
);
|
|
});
|