This commit is contained in:
MartinBraquet
2025-10-25 21:48:25 +02:00
parent 28e5d2e3f2
commit e8dd1f8f8b

View File

@@ -23,12 +23,12 @@ export const getStaticProps: GetStaticProps<
UserPageProps,
{ username: string }
> = async (props) => {
// console.debug('Starting getStaticProps in /[username]')
console.log('Starting getStaticProps in /[username]')
const {username} = props.params!
const user = await getUserForStaticProps(db, username)
// console.log(user)
console.log('getStaticProps', {user})
if (!user) {
return {