mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 07:37:11 +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,6 +1,6 @@
|
|||
import { useCallback, useMemo } from 'react';
|
||||
import { useTheme } from '@umami/react-zen';
|
||||
import { BarChart, BarChartProps } from '@/components/charts/BarChart';
|
||||
import { useCallback, useMemo } from 'react';
|
||||
import { BarChart, type BarChartProps } from '@/components/charts/BarChart';
|
||||
import { useLocale, useMessages } from '@/components/hooks';
|
||||
import { renderDateLabels } from '@/lib/charts';
|
||||
import { getThemeColors } from '@/lib/colors';
|
||||
|
|
@ -28,7 +28,7 @@ export function PageviewsChart({ data, unit, minDate, maxDate, ...props }: Pagev
|
|||
if (!data) return;
|
||||
|
||||
return {
|
||||
__id: new Date().getTime(),
|
||||
__id: Date.now(),
|
||||
datasets: [
|
||||
{
|
||||
type: 'bar',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue