name blurbs, skeleton and link
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import BadgeStatsTable from '@/features/badges/components/badge-stats-table';
|
||||
import BadgeStatsTableSkeleton from '@/features/badges/components/badge-stats-table-skeleton';
|
||||
import { badgeQueries, useAllBadges } from '@/features/badges/queries';
|
||||
import PlayerStatsTableSkeleton from '@/features/players/components/player-stats-table-skeleton';
|
||||
import { prefetchServerQuery } from '@/lib/tanstack-query/utils/prefetch';
|
||||
@@ -16,15 +17,15 @@ export const Route = createFileRoute('/_authed/badges')({
|
||||
fullWidth: true,
|
||||
header: {
|
||||
title: 'All Badges',
|
||||
withBackButton: true,
|
||||
},
|
||||
refresh: [badgeQueries.allBadges().queryKey],
|
||||
}),
|
||||
});
|
||||
|
||||
function Badges() {
|
||||
//TODO: CHANGE FALLBACK
|
||||
return (
|
||||
<Suspense fallback={<PlayerStatsTableSkeleton />}>
|
||||
<Suspense fallback={<BadgeStatsTableSkeleton />}>
|
||||
<div>
|
||||
<BadgeStatsTable />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user