message: include try and catch
diff: @@ -166,13 +166,16 @@ function ApiPage({
  }, [])
  useEffect(() => {
  + try {
  const observer = new IntersectionObserver(
  entries => {
  let index = 0
  const allTops = []
  for (const entrie of entries) {
  for (const key in apiSectionsRef.current) {
  - const { top } = apiSectionsRef.current[key].getBoundingClientRect()
  + const { top } = apiSectionsRef.current[
  + key
  + ].getBoundingClientRect()
  allTops.push(top)
  index++
  }
  @@ -203,6 +206,7 @@ function ApiPage({
  observer.observe(item)
  }
  })
  + } catch {}
  }, [])
  return (
  