Skip to content

Commit

Permalink
Fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
SiebeBaree committed Feb 4, 2024
1 parent c201f5d commit 821fc96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/src/app/(main)/guide/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export default function Guide() {
</div>

<div className="grid grid-cols-3 gap-3 mt-8">
{guides.map((guide) => (
<GuideCard key={guide.href} title={guide.name} description={guide.description} href={guide.href} />
{guides.map((guide, index) => (
<GuideCard key={index} title={guide.name} description={guide.description} href={guide.href} />
))}
</div>
</main>
Expand Down
2 changes: 1 addition & 1 deletion app/src/app/(main)/items/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import ItemsSection from '@/app/(main)/items/ItemsSection';
import PageTitle from '@/components/PageTitle';
import { db } from '@/server/db';

export const revalidate = '900';
export const revalidate = 900;

export default async function ItemsPage() {
const items = await db.item.findMany({});
Expand Down

0 comments on commit 821fc96

Please sign in to comment.