Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(board): remove logging #1687

Merged
merged 1 commit into from
Oct 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions tavla/pages/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,11 @@ import { useRefresh } from 'hooks/useRefresh'
import { getBackendUrl } from 'utils/index'
import Head from 'next/head'
import { useEffect } from 'react'
import { logger } from 'utils/logger'
import { IncomingMessage } from 'http'

const log = logger.child({ module: 'board' })
export async function getServerSideProps({
params,
req,
}: {
params: { id: string }
req: IncomingMessage
}) {
const { id } = params

Expand All @@ -33,13 +28,6 @@ export async function getServerSideProps({

const organization = await getOrganizationWithBoard(id)

if (!req.headers['next-router-prefetch']) {
log.info({
boardID: board.id,
organization: organization?.name,
})
}

return {
props: {
board,
Expand Down