mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
20 lines
511 B
JavaScript
20 lines
511 B
JavaScript
import React, { useEffect } from 'react';
|
||
import { connect } from 'react-redux';
|
||
import t from 'store/types';
|
||
|
||
const DashboardHomepage = ({ changePageTitle }) => {
|
||
useEffect(() => {
|
||
changePageTitle('Craig’s Design and Landscaping Services')
|
||
});
|
||
return (
|
||
<div>asdasd</div>
|
||
);
|
||
}
|
||
|
||
const mapActionsToProps = (dispatch) => ({
|
||
changePageTitle: pageTitle => dispatch({
|
||
type: t.CHANGE_DASHBOARD_PAGE_TITLE, pageTitle
|
||
}),
|
||
});
|
||
|
||
export default connect(null, mapActionsToProps)(DashboardHomepage); |