Reformatted files with biome.
This commit is contained in:
1 parent
d51f0641a6
commit
fa8d8055df
558 files changed
+2108
-2379
No files matched your search
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user