'use client'

import { useEffect } from 'react'

export function ConsoleSilencer() {
  useEffect(() => {
    if (process.env.NODE_ENV === 'development') {
      console.log = () => {};
      console.debug = () => {};
      console.info = () => {};
      console.warn = () => {};
      console.error = () => {};
    }
  }, [])

  return null
}
