import React from 'react';
import D from 'i18n';
import './code-label.css';

export default ({ code, codes }) => {
	// TODO .toUpperCase(), really ?
	const content = codes.find(
		c => c.codeURI.toUpperCase() === code.toUpperCase()
	);
	if (!content)
		return (
			<div className="col-md-8 col-md-offset-2">
				<div className="unknow-type centered">{D.unknowCode}</div>
			</div>
		);
	return <div className="code-label">{content.label}</div>;
};

@@ -170,19 +170,16 @@
 es.find(
-%0A%09%09
 c =%3E c.c
@@ -188,47 +188,17 @@
 eURI
-.toUpperCase() === code.toUpperCase()%0A%09
+ === code
 );%0A%09

Fix minor issue