Skip to content

Commit ff7422b

Browse files
committed
Reduce bits
1 parent fde42c6 commit ff7422b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default function createStore(defaultStore = {}, callback) {
2424
let validator = {
2525
_path: [],
2626
_getHoC(Comp, path, initValue, callback) {
27-
let componentName = Comp.displayName || Comp.name || 'Component';
27+
let componentName = Comp.displayName || Comp.name || '';
2828
let WithStore = (props) => {
2929
let last = path.length - 1;
3030
let store = path.length ? path.reduce(

0 commit comments

Comments
 (0)