Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spinner not working #60

Open
mrjack88 opened this issue Jan 11, 2018 · 0 comments
Open

Spinner not working #60

mrjack88 opened this issue Jan 11, 2018 · 0 comments

Comments

@mrjack88
Copy link

Hi I can not make the spinner to work. I is throwing this error on runtime:

vendor.js?v=sZBD4ty28krojWTr8aPA_g_AGMpt_Nhz9VS_g69om6M:1 Uncaught Error: Minified React error #130; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=130&args[]=undefined&args[]=%20Check%20the%20render%20method%20of%20%60Login%60. for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at r (vendor.js?v=sZBD4ty28krojWTr8aPA_g_AGMpt_Nhz9VS_g69om6M:1)
    at i (vendor.js?v=sZBD4ty28krojWTr8aPA_g_AGMpt_Nhz9VS_g69om6M:49)
    at Object.updateChildren (vendor.js?v=sZBD4ty28krojWTr8aPA_g_AGMpt_Nhz9VS_g69om6M:54)
    at v._reconcilerUpdateChildren (vendor.js?v=sZBD4ty28krojWTr8aPA_g_AGMpt_Nhz9VS_g69om6M:54)
    at v._updateChildren (vendor.js?v=sZBD4ty28krojWTr8aPA_g_AGMpt_Nhz9VS_g69om6M:54)
    at v.updateChildren (vendor.js?v=sZBD4ty28krojWTr8aPA_g_AGMpt_Nhz9VS_g69om6M:54)
    at v._updateDOMChildren (vendor.js?v=sZBD4ty28krojWTr8aPA_g_AGMpt_Nhz9VS_g69om6M:54)
    at v.updateComponent (vendor.js?v=sZBD4ty28krojWTr8aPA_g_AGMpt_Nhz9VS_g69om6M:54)
    at v.receiveComponent (vendor.js?v=sZBD4ty28krojWTr8aPA_g_AGMpt_Nhz9VS_g69om6M:54)
    at Object.receiveComponent (vendor.js?v=sZBD4ty28krojWTr8aPA_g_AGMpt_Nhz9VS_g69om6M:35)

I am using it like this:

{
       this.state.isShowingModal &&
       <ModalContainer onClose={this.handleClose}>
         {
           this.state.isShowingModal ?
           <ReactSpinner color="white"/> :
           <ModalDialog onClose={this.handleClose}>
             <h1>Dialog Content</h1>
             <p>More Content. Anything goes here</p>
           </ModalDialog>
         }
       </ModalContainer>
     }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant