format ESEFEFFECT ES6

useEffect(() => {
  console.log(`Component mounted`)
}, [])
Witty Weevil