mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 12:05:41 +01:00
Refactored exports.
This commit is contained in:
parent
1baf4d5571
commit
8bddc666b4
110 changed files with 317 additions and 124 deletions
|
|
@ -25,7 +25,7 @@ function mergeData(state = [], data = [], time) {
|
|||
.filter(({ timestamp }) => timestamp >= time);
|
||||
}
|
||||
|
||||
export default function RealtimeDashboard({ websiteId }) {
|
||||
export function RealtimeDashboard({ websiteId }) {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const router = useRouter();
|
||||
const [currentData, setCurrentData] = useState();
|
||||
|
|
@ -125,3 +125,5 @@ export default function RealtimeDashboard({ websiteId }) {
|
|||
</Page>
|
||||
);
|
||||
}
|
||||
|
||||
export default RealtimeDashboard;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue