mirror of
https://github.com/umami-software/umami.git
synced 2026-02-18 19:45:35 +01:00
Reformatted files with biome.
This commit is contained in:
parent
d51f0641a6
commit
fa8d8055df
558 changed files with 2108 additions and 2379 deletions
|
|
@ -1,9 +1,9 @@
|
|||
import { LoadingPanel } from '@/components/common/LoadingPanel';
|
||||
import { useDateRange, useMessages } from '@/components/hooks';
|
||||
import { useWebsiteStatsQuery } from '@/components/hooks/queries/useWebsiteStatsQuery';
|
||||
import { MetricCard } from '@/components/metrics/MetricCard';
|
||||
import { MetricsBar } from '@/components/metrics/MetricsBar';
|
||||
import { formatShortTime, formatLongNumber } from '@/lib/format';
|
||||
import { useWebsiteStatsQuery } from '@/components/hooks/queries/useWebsiteStatsQuery';
|
||||
import { LoadingPanel } from '@/components/common/LoadingPanel';
|
||||
import { formatLongNumber, formatShortTime } from '@/lib/format';
|
||||
|
||||
export function WebsiteMetricsBar({
|
||||
websiteId,
|
||||
|
|
@ -45,7 +45,7 @@ export function WebsiteMetricsBar({
|
|||
change:
|
||||
(Math.min(visits, bounces) / visits) * 100 -
|
||||
(Math.min(comparison.visits, comparison.bounces) / comparison.visits) * 100,
|
||||
formatValue: n => Math.round(+n) + '%',
|
||||
formatValue: n => `${Math.round(+n)}%`,
|
||||
reverseColors: true,
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue