mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 20:42:43 +00:00
[NFC] Add display name for custom React components
This improves readability of "Components" tab from React Development Tools extension for Chrome
This commit is contained in:
@@ -40,6 +40,7 @@ if(typeof navigator !== 'undefined'){
|
||||
}
|
||||
|
||||
const CodeEditor = createClass({
|
||||
displayName : 'CodeEditor',
|
||||
getDefaultProps : function() {
|
||||
return {
|
||||
language : '',
|
||||
|
||||
Reference in New Issue
Block a user