Remove logs

This commit is contained in:
MartinBraquet
2025-09-13 12:14:09 +02:00
parent d2c25f9d6c
commit 8892f4144e

View File

@@ -24,7 +24,7 @@ export const getStaticProps: GetStaticProps<
UserPageProps,
{ username: string }
> = async (props) => {
console.log('Starting getStaticProps in /[username]')
// console.log('Starting getStaticProps in /[username]')
const {username} = props.params!
const user = await getUserForStaticProps(db, username)
@@ -86,7 +86,7 @@ type ActiveUserPageProps = {
}
export default function UserPage(props: UserPageProps) {
console.log('Starting UserPage in /[username]')
// console.log('Starting UserPage in /[username]')
if (!props.user) {
return <div>This account has been deleted</div>
}
@@ -99,7 +99,7 @@ export default function UserPage(props: UserPageProps) {
}
function UserPageInner(props: ActiveUserPageProps) {
console.log('Starting UserPageInner in /[username]')
// console.log('Starting UserPageInner in /[username]')
const {user, username} = props
const router = useRouter()
const {query} = router