import DocViewer from '@/components/DocViewer'
import { useParams } from '@/router'

const FileViewer = () => {
  const { teamId, fileId } = useParams(
    '/analyst/:exerciseId/:teamId/file/:fileId'
  )

  return <DocViewer fileId={fileId} teamId={teamId} inInstructor />
}

export default FileViewer
