mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
fix: add sidebar shrink.
This commit is contained in:
@@ -30,6 +30,7 @@ function BalanceSheet({
|
||||
// #withDashboardActions
|
||||
changePageTitle,
|
||||
setDashboardBackLink,
|
||||
setSidebarShrink,
|
||||
|
||||
// #withBalanceSheetActions
|
||||
fetchBalanceSheet,
|
||||
@@ -58,8 +59,9 @@ function BalanceSheet({
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
setSidebarShrink();
|
||||
changePageTitle(formatMessage({ id: 'balance_sheet' }));
|
||||
}, [changePageTitle, formatMessage]);
|
||||
}, [changePageTitle, formatMessage, setSidebarShrink]);
|
||||
|
||||
// Observes the balance sheet refresh to invalid the query to refresh it.
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user