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
Cool! The underlying framework supports the optional chaining operator out of the box. My gut feeling, though, is that we must tweak the linter config to make it work.
(1) Instead of inline if conditions:
dotdev/src/components/Header/Header.js
Line 39 in e1fd40f
Use the
&&
operator consistently(IIRC we already discussed this):(2) Instead of
&&
to ensure object fields:dotdev/src/components/Header/Header.js
Line 42 in e1fd40f
Use the optional chaining operator:
We may also find further improvements.
The text was updated successfully, but these errors were encountered: