mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
16 lines
387 B
JavaScript
16 lines
387 B
JavaScript
import React from 'react';
|
|
import * as R from 'ramda';
|
|
|
|
import withDashboardActions from '../../containers/Dashboard/withDashboardActions';
|
|
|
|
function AuthenticationBootJSX({ setAppIsLoading }) {
|
|
React.useEffect(() => {
|
|
setAppIsLoading(false);
|
|
}, [setAppIsLoading]);
|
|
|
|
return null;
|
|
}
|
|
export const AuthenticationBoot = R.compose(withDashboardActions)(
|
|
AuthenticationBootJSX,
|
|
);
|