mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-03 06:16:21 -05:00
Add log
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user