import { useRef } from 'react'
import { useNavFix } from '../hooks/useNavFix'

export default function PageShell({ html }) {
  const ref = useRef(null)
  useNavFix(ref)
  return <div ref={ref} dangerouslySetInnerHTML={{ __html: html }} />
}
