mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-06 22:56:27 +00:00
remove next image
This commit is contained in:
@@ -47,7 +47,7 @@ const TableAttendanceHistory: FC<Props> = ({ data }) => {
|
||||
defaultPageSize: 15,
|
||||
showSizeChanger: true,
|
||||
showQuickJumper: true,
|
||||
size: 'default'
|
||||
// size: 'default'
|
||||
},
|
||||
scroll: { x: 'max-content' },
|
||||
tableLayout: 'auto',
|
||||
|
||||
@@ -9,9 +9,8 @@ import fetchData, { fetchDataWithPost } from '@/lib/fetchData';
|
||||
import { generateHourMinutes } from '@/lib/helper';
|
||||
import { type IUser } from '@/app/admin/administration/user/component/type';
|
||||
import { type IPerformace } from './type';
|
||||
import FallbackAvatar from '@/components/loader/FallbackAvatar';
|
||||
import ViewAvatar from '@/components/ViewAvatar';
|
||||
|
||||
const ViewAvatar = lazy(() => import('@/components/ViewAvatar'));
|
||||
const DonutChart = lazy(() => import('./DonutChart'));
|
||||
const AreaChart = lazy(() => import('./AreaChart'))
|
||||
const TableAttendanceHistory = lazy(() => import('./Table'))
|
||||
@@ -47,9 +46,7 @@ const PerformanceComponent: FC<Props> = async ({ id, start_date, end_date }) =>
|
||||
<div className='gap-4 space-y-7 w-full mx-auto mt-6'>
|
||||
<Card900>
|
||||
<CardContent className='flex flex-col sm:flex-row items-center gap-6 sm:gap-0'>
|
||||
<Suspense fallback={<FallbackAvatar className='w-40 h-40 sm:min-w-44 sm:w-44! sm:h-44! duration-300' />}>
|
||||
<ViewAvatar avatar={user.avatar} className='w-40 h-40 sm:min-w-44 sm:w-44! sm:h-44! duration-300' sizes="(max-width: 640px) 100vw, 640px" quality={75} />
|
||||
</Suspense>
|
||||
<ViewAvatar avatar={user.avatar} className='w-40 h-40 sm:min-w-44 sm:w-44! sm:h-44! duration-300' />
|
||||
<div className='sm:ml-6 2xl:ml-10 w-full'>
|
||||
<span className='text-lg font-semibold leading-none tracking-tight sm:text-2xl'>{user.fullname}</span>
|
||||
<div className='grid grid-cols-1 sm:grid-cols-2 xl:grid-cols-4 gap-2 mt-3 w-full'>
|
||||
|
||||
Reference in New Issue
Block a user