mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
15 lines
430 B
TypeScript
15 lines
430 B
TypeScript
// @ts-nocheck
|
|
import * as R from 'ramda';
|
|
import BigcapitalLoading from './BigcapitalLoading';
|
|
import withDashboard from '@/containers/Dashboard/withDashboard';
|
|
|
|
function SplashScreenComponent({ splashScreenLoading }) {
|
|
return splashScreenLoading ? <BigcapitalLoading /> : null;
|
|
}
|
|
|
|
export const SplashScreen = R.compose(
|
|
withDashboard(({ splashScreenLoading }) => ({
|
|
splashScreenLoading,
|
|
})),
|
|
)(SplashScreenComponent);
|