mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 01:55:36 +01:00
Refactored exports.
This commit is contained in:
parent
1baf4d5571
commit
8bddc666b4
110 changed files with 317 additions and 124 deletions
|
|
@ -12,7 +12,7 @@ import useDashboard from 'store/dashboard';
|
|||
import useMessages from 'hooks/useMessages';
|
||||
import useLocale from 'hooks/useLocale';
|
||||
|
||||
export default function Dashboard({ userId }) {
|
||||
export function Dashboard({ userId }) {
|
||||
const { formatMessage, labels, messages } = useMessages();
|
||||
const dashboard = useDashboard();
|
||||
const { showCharts, limit, editing } = dashboard;
|
||||
|
|
@ -62,3 +62,5 @@ export default function Dashboard({ userId }) {
|
|||
</Page>
|
||||
);
|
||||
}
|
||||
|
||||
export default Dashboard;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue