'use client'

// Next Imports
import dynamic from 'next/dynamic'

//! To avoid 'Window is not defined' error
const ReactDraftWysiwyg = dynamic(() => import('react-draft-wysiwyg').then(mod => mod.Editor), {
  ssr: false
})

export default ReactDraftWysiwyg
