mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Reorder UTM params.
This commit is contained in:
parent
a02a098db8
commit
57e64893cf
1 changed files with 2 additions and 1 deletions
|
|
@ -2,6 +2,7 @@ import { useContext } from 'react';
|
|||
import { firstBy } from 'thenby';
|
||||
import { ReportContext } from '../[reportId]/Report';
|
||||
import styles from './UTMView.module.css';
|
||||
import { UTM_PARAMS } from 'lib/constants';
|
||||
|
||||
function toArray(data: { [key: string]: number }) {
|
||||
return Object.keys(data)
|
||||
|
|
@ -21,7 +22,7 @@ export default function UTMView() {
|
|||
|
||||
return (
|
||||
<div>
|
||||
{Object.keys(data).map(key => {
|
||||
{UTM_PARAMS.map(key => {
|
||||
return (
|
||||
<div key={key}>
|
||||
<div className={styles.title}>{key}</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue