mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +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 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 20px;
|
||||
justify-content: flex-start;
|
||||
gap: 10px;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
.visitors {
|
||||
|
|
@ -44,7 +45,7 @@
|
|||
.dropoff {
|
||||
font-weight: 600;
|
||||
color: var(--font-color-muted);
|
||||
background: var(--base-color-3);
|
||||
background: var(--base-color-2);
|
||||
padding: 4px 8px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -185,7 +185,9 @@ export function Journey({
|
|||
<div className={styles.visitors} title={column.visitorCount}>
|
||||
{formatLongNumber(column.visitorCount)} {formatMessage(labels.visitors)}
|
||||
</div>
|
||||
{columnIndex > 0 && <div className={styles.dropoff}>{dropOffPercent}</div>}
|
||||
<div>
|
||||
{columnIndex > 0 && <div className={styles.dropoff}>{dropOffPercent}</div>}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles.nodes}>
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@ export * from './useMessages';
|
|||
export * from './useModified';
|
||||
export * from './usePagedQuery';
|
||||
export * from './useRegionNames';
|
||||
export * from './useReport';
|
||||
export * from './useSticky';
|
||||
export * from './useNavigation';
|
||||
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