Skip to content

Instantly share code, notes, and snippets.

@mcsf
Created April 4, 2018 23:09
Show Gist options
  • Save mcsf/0b28501c52fab9bb0b0a3f3c57a7ec4b to your computer and use it in GitHub Desktop.
Save mcsf/0b28501c52fab9bb0b0a3f3c57a7ec4b to your computer and use it in GitHub Desktop.
commit e3a846221e1348ec1a046edee14b8c283ab68207
Author: Miguel Fonseca <[email protected]>
Date: Mon Apr 2 19:04:40 2018 +0100
Add missing `modifierName` for withState
diff --git a/components/higher-order/with-state/index.js b/components/higher-order/with-state/index.js
index 4328407b..f44ac94d 100644
--- a/components/higher-order/with-state/index.js
+++ b/components/higher-order/with-state/index.js
@@ -32,5 +32,5 @@ export default function withState( initialState = {} ) {
);
}
};
- } );
+ }, 'withState' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment