Skip to content

Commit 5fc857b

Browse files
author
Michael Trotter
committed
Fix displayNameFromSelf
1 parent c17cdf3 commit 5fc857b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/React/Basic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ exports.displayNameFromComponent = function($$type) {
172172
};
173173

174174
exports.displayNameFromSelf = function(self) {
175-
return exports.displayNameFromComponent(self.instance_.prototype.constructor);
175+
return exports.displayNameFromComponent(self.instance_.constructor);
176176
};
177177

178178
exports.toReactComponent = function(_unionDict) {

0 commit comments

Comments
 (0)