RallyCodingWeekly icon indicating copy to clipboard operation
RallyCodingWeekly copied to clipboard

[002 - Basics of Redux ] Multiple export default in components/app.js

Open murielg opened this issue 8 years ago • 1 comments

Only one export default is allowed per module.

murielg avatar Jul 13 '17 14:07 murielg

@murielg, looks like you caught it too. Will your correction be pushed to master?

Also, in terms of styling for emails, the bootstrap styling looks nothing like in the video. Try this:

renderUser({id, name, email}) {
    return (
      <li className="list-group-item" key={id}>
        <span className="label pull-xs-right">
          <a href={email}>{email}</a>
        </span>
        {name}
      </li>
    );
  }

Looks more like what's in the video.

ldco2016 avatar Sep 23 '18 16:09 ldco2016