feat: modernized web application
This commit is contained in:
9
nextjs/src/app/players/page.tsx
Normal file
9
nextjs/src/app/players/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { PlayersList } from '@/components/PlayersList';
|
||||
import { getAllPlayers } from '@/lib/data';
|
||||
|
||||
export const dynamic = 'force-dynamic';
|
||||
|
||||
export default async function PlayersPage() {
|
||||
const players = await getAllPlayers();
|
||||
return <PlayersList players={players} />;
|
||||
}
|
||||
Reference in New Issue
Block a user