Fix: website typo (#398)

This commit is contained in:
Johannes Kirschbauer 2024-10-25 09:15:06 +02:00 committed by GitHub
parent 82539d387b
commit 6cb081eac4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,8 +15,8 @@ import { Doc, data as raw } from "@/models/data";
// Show only functions with content.
const data = raw;
const emptyIdxs = raw
.map((d, idx) => (d.content?.content ? false : idx))
const emptyIdxs: number[] = raw
.map((d, idx) => (d.content?.content ? 0 : idx))
.filter(Boolean);
const date = new Date();