mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-16 12:50:27 -04:00
Remove logs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user