chore: remove unused generateStaticParams function

This commit is contained in:
q9i 2024-02-18 21:07:45 -08:00 committed by Youwen Wu
parent 354d5b2b91
commit 11aacc6852

View file

@ -8,11 +8,6 @@ import cardEffects from '@/app/styles/cardEffects.module.css'
const zillaSlab = Zilla_Slab({ subsets: ['latin'], weight: ['500'] }) const zillaSlab = Zilla_Slab({ subsets: ['latin'], weight: ['500'] })
export function generateStaticParams() {
const authorsList = Object.keys(authors)
return authorsList.map((shortName) => ({ shortName }))
}
const AuthorCard = ({ const AuthorCard = ({
params, params,
}: Readonly<{ params: { shortName: string } }>) => { }: Readonly<{ params: { shortName: string } }>) => {