add original cards back, pre re-style

This commit is contained in:
41666 2023-02-04 08:33:31 -05:00
parent 6f037b5e09
commit 9dd0c78850
3 changed files with 7 additions and 6 deletions

View file

@ -14,14 +14,16 @@ export const loader = async () => {
};
export default function Index() {
// const { allWorlds } = useLoaderData<typeof loader>();
const { allWorlds } = useLoaderData<typeof loader>();
return (
<div>
<Header />
{/* {allWorlds.map((world) => (
<WorldCard key={world.id} world={world} />
))} */}
<div>
{allWorlds.map((world) => (
<WorldCard world={world} key={world.id} />
))}
</div>
</div>
);
}