mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 23:57:12 +01:00
Removed useReport hook. Journey styles.
This commit is contained in:
parent
2af95b5802
commit
d4bc72e90b
4 changed files with 8 additions and 12 deletions
|
|
@ -28,11 +28,12 @@
|
||||||
|
|
||||||
.stats {
|
.stats {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: flex-start;
|
||||||
gap: 20px;
|
gap: 10px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 40px;
|
height: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.visitors {
|
.visitors {
|
||||||
|
|
@ -44,7 +45,7 @@
|
||||||
.dropoff {
|
.dropoff {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: var(--font-color-muted);
|
color: var(--font-color-muted);
|
||||||
background: var(--base-color-3);
|
background: var(--base-color-2);
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -185,7 +185,9 @@ export function Journey({
|
||||||
<div className={styles.visitors} title={column.visitorCount}>
|
<div className={styles.visitors} title={column.visitorCount}>
|
||||||
{formatLongNumber(column.visitorCount)} {formatMessage(labels.visitors)}
|
{formatLongNumber(column.visitorCount)} {formatMessage(labels.visitors)}
|
||||||
</div>
|
</div>
|
||||||
{columnIndex > 0 && <div className={styles.dropoff}>{dropOffPercent}</div>}
|
<div>
|
||||||
|
{columnIndex > 0 && <div className={styles.dropoff}>{dropOffPercent}</div>}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.nodes}>
|
<div className={styles.nodes}>
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,6 @@ export * from './useMessages';
|
||||||
export * from './useModified';
|
export * from './useModified';
|
||||||
export * from './usePagedQuery';
|
export * from './usePagedQuery';
|
||||||
export * from './useRegionNames';
|
export * from './useRegionNames';
|
||||||
export * from './useReport';
|
|
||||||
export * from './useSticky';
|
export * from './useSticky';
|
||||||
export * from './useNavigation';
|
export * from './useNavigation';
|
||||||
export * from './useTimezone';
|
export * from './useTimezone';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
import { useContext } from 'react';
|
|
||||||
import { ReportContext } from '@/app/(main)/reports/[reportId]/Report';
|
|
||||||
|
|
||||||
export function useReport() {
|
|
||||||
return useContext(ReportContext);
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue