Skip to content

Commit

Permalink
ensure that snapshots have a displayName, include src for maps
Browse files Browse the repository at this point in the history
  • Loading branch information
staylor committed Mar 11, 2019
1 parent d5703b7 commit e3388df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-helmet-async",
"version": "1.0.0-beta.0",
"version": "1.0.0-beta.1",
"description": "Thread-safe Helmet for React 16+ and friends",
"main": "lib/index.js",
"umd:main": "lib/index.umd.js",
Expand All @@ -12,6 +12,7 @@
"license": "Apache-2.0",
"files": [
"lib/",
"src/",
"index.d.ts"
],
"dependencies": {
Expand Down
2 changes: 2 additions & 0 deletions src/Dispatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export default class Dispatcher extends Component {
context: providerShape.isRequired,
};

static displayName = 'HelmetDispatcher';

rendered = false;

shouldComponentUpdate(nextProps) {
Expand Down

0 comments on commit e3388df

Please sign in to comment.