Skip to content

Commit

Permalink
Reduce bits
Browse files Browse the repository at this point in the history
  • Loading branch information
aralroca committed Nov 23, 2021
1 parent fde42c6 commit ff7422b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function createStore(defaultStore = {}, callback) {
let validator = {
_path: [],
_getHoC(Comp, path, initValue, callback) {
let componentName = Comp.displayName || Comp.name || 'Component';
let componentName = Comp.displayName || Comp.name || '';
let WithStore = (props) => {
let last = path.length - 1;
let store = path.length ? path.reduce(
Expand Down

0 comments on commit ff7422b

Please sign in to comment.