import React, { Component } from 'react';

const Error = () => (
  <div className="error">
    <div className="error-message">
      Does not exist
    </div>
  </div>
);

export default Error;

import React, { Component } from 'react';

//Stateless component as it does not need to manage any state
const Error = () => (
  <div className="error">
    <div className="error-message">
      Does not exist
    </div>
  </div>
);

export default Error;

Add comments to error component
Add comments to error component
