Add 30 n1234568854400
This commit is contained in:
parent
071d586f29
commit
7ea09bb55b
@ -12,7 +12,7 @@ import { AppDispatch } from '@/redux/store';
|
||||
import { load } from '@/redux/features/statistics-slice'
|
||||
import CircularProgress from '@mui/material/CircularProgress';
|
||||
import { useTranslations } from 'next-intl';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import Button from '@mui/material/Button';
|
||||
import { RefreshCw } from 'lucide-react';
|
||||
|
||||
export default function Page() {
|
||||
@ -55,14 +55,14 @@ export default function Page() {
|
||||
<main className="min-h-[250px] max-h-[750px]">
|
||||
<div className="w-full flex justify-end mb-4">
|
||||
<Button
|
||||
variant="outline"
|
||||
size="sm"
|
||||
variant="outlined"
|
||||
size="small"
|
||||
onClick={fetchData}
|
||||
disabled={isLoading}
|
||||
startIcon={<RefreshCw className={`h-4 w-4 ${isLoading ? 'animate-spin' : ''}`} />}
|
||||
className="flex items-center gap-2"
|
||||
>
|
||||
<RefreshCw className={`h-4 w-4 ${isLoading ? 'animate-spin' : ''}`} />
|
||||
{t('refresh')}
|
||||
{t('refresh') || 'Refresh'}
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user