You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'styled-components' and 'react-router' warning: Warning: Failed prop type: Invalid prop component of type object supplied to Route, expected function.
#2305
https://codesandbox.io/s/z2z94vx43p
Getting this warning at the console:
Code snippet (
App.js
):Funny thing is, when
DefaultRoute
(AFTER beingstyled()
) is wrapped byconnect()
ofreact-redux
, the warning goes away.The text was updated successfully, but these errors were encountered: