aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/ReportLayout.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/reports/ReportLayout.js')
-rw-r--r--modern/src/reports/ReportLayout.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/reports/ReportLayout.js b/modern/src/reports/ReportLayout.js
index f6e71db0..8606ed42 100644
--- a/modern/src/reports/ReportLayout.js
+++ b/modern/src/reports/ReportLayout.js
@@ -79,7 +79,7 @@ const ReportLayout = ({ children, filter }) => {
break;
}
});
- }, [location]);
+ }, [routes, location]);
const pageTitle = `${t('reportTitle')} / ${reportTitle}`;