mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 23:27:12 +01:00
Renamed query hooks. Fixed conversion bugs.
This commit is contained in:
parent
adca3c36d0
commit
7886c3f393
110 changed files with 423 additions and 489 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { LoadingButton, Icon, TooltipPopup } from '@umami/react-zen';
|
||||
import { LoadingButton, Icon, Tooltip, TooltipTrigger } from '@umami/react-zen';
|
||||
import { setWebsiteDateRange } from '@/store/websites';
|
||||
import { useDateRange } from '@/components/hooks';
|
||||
import { Icons } from '@/components/icons';
|
||||
|
|
@ -21,12 +21,13 @@ export function RefreshButton({
|
|||
}
|
||||
|
||||
return (
|
||||
<TooltipPopup label={formatMessage(labels.refresh)}>
|
||||
<LoadingButton isLoading={isLoading} onClick={handleClick}>
|
||||
<TooltipTrigger>
|
||||
<LoadingButton isLoading={isLoading} onPress={handleClick}>
|
||||
<Icon>
|
||||
<Icons.Refresh />
|
||||
</Icon>
|
||||
</LoadingButton>
|
||||
</TooltipPopup>
|
||||
<Tooltip>{formatMessage(labels.refresh)}</Tooltip>
|
||||
</TooltipTrigger>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue