FortAwesome / react-fontawesome

Font Awesome React component
https://fontawesome.com
MIT License
3.69k stars 265 forks source link

faAd aka 'fa-ad' Not Found though it is a free solid #290

Open hollygirouard opened 5 years ago

hollygirouard commented 5 years ago

Describe the bug I'd like to use this icon: https://fontawesome.com/icons/ad?style=solid

My import looks like

import { faPaperPlane, faUser, faSignOutAlt, faEnvelope, faPlusCircle, faKey, faCheckCircle, faThumbsDown, faBars, faChevronLeft, faChevronRight, faThumbsUp, faUserAlt, faShareSquare, faSlidersH, faMoneyBillWave, faPencilAlt, faLock, faStar, faSquareFull, faWindowClose, faCopyright, faFileVideo, faTrash, faAd, faFileAlt, faUsers, faCircle, faBookmark, faMobileAlt, faSpinner, } from '@fortawesome/fontawesome-free-solid'

Library Export:

  faUser, faSignOutAlt, faEnvelope, faPaperPlane, faSlidersH,
  faKey, faCheckCircle, faThumbsDown, faThumbsUp, faPlusCircle,
  faUserAlt, faShareSquare, faBookmark, faStar, faChevronLeft,
  faMoneyBillWave, faPencilAlt, faLock, faCircle, faChevronRight,
  faWindowClose, faCopyright, faFileVideo, faBars, faSquareFull,
  faTrash, faFileAlt, faTwitter, faFacebook, faMobileAlt,
  faInstagram, faYoutube, faSnapchat, faUsers, faSpinner, faAd,
)

Error:

faDemo

Expected behavior A clear and concise description of what you expected to happen.

I should be able to use ad icon in my library.

Desktop (please complete the following information):

Additional context

Is this intended? Is there something I should be aware of when choosing icons?

bluenex commented 5 years ago

I can confirm this, here is an error trace:

  stack_frame_overlay_proxy_console @ index.js:2177
  log @ index.es.js:239
  FontAwesomeIcon @ index.es.js:300
  FontAwesomeIcon @ react-hot-loader.development.js:827
  renderWithHooks @ react-dom.development.js:16320
  mountIndeterminateComponent @ react-dom.development.js:18735
  beginWork$1 @ react-dom.development.js:20084
  beginWork$$1 @ react-dom.development.js:25708
  performUnitOfWork @ react-dom.development.js:24641
  workLoopSync @ react-dom.development.js:24614
  performSyncWorkOnRoot @ react-dom.development.js:24182
  scheduleUpdateOnFiber @ react-dom.development.js:23590
  scheduleRootUpdate @ react-dom.development.js:26945
  updateContainerAtExpirationTime @ react-dom.development.js:26973
  updateContainer @ react-dom.development.js:27075
  (anonymous) @ react-dom.development.js:27663
  unbatchedUpdates @ react-dom.development.js:24375
  legacyRenderSubtreeIntoContainer @ react-dom.development.js:27662
  render @ react-dom.development.js:27756
  (anonymous) @ app.js:40
  setTimeout (async)    
  (anonymous) @ ready.js:32
  (anonymous) @ app.js:40
  Promise.then (async)    
  (anonymous) @ app.js:40
  Promise.then (async)    
  (anonymous) @ app.js:23
  ./.cache/app.js @ app.js:40
  __webpack_require__ @ bootstrap:726
  fn @ bootstrap:100
  0 @ ui.js:13
  __webpack_require__ @ bootstrap:726
  (anonymous) @ bootstrap:793
  (anonymous) @ bootstrap:793

I've also found this myself when using faSearch. Though the error raises, it still render in my case:

image

I also use many icons but only faSearch raises the error.