Skip to content

Commit

Permalink
Merge pull request reduxjs#3920 from andrewmcgivery/master
Browse files Browse the repository at this point in the history
Former-commit-id: 756ba19
Former-commit-id: 9ed9917
  • Loading branch information
markerikson committed Apr 2, 2021
2 parents adc2ff1 + 148a524 commit 9531f7f
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 48 deletions.
1 change: 1 addition & 0 deletions errors.json.REMOVED.git-id
@@ -0,0 +1 @@
49e6c98a69ac89787b8d7d2a5bb8a856c76f2350
2 changes: 1 addition & 1 deletion package-lock.json.REMOVED.git-id

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json.REMOVED.git-id
@@ -1 +1 @@
34c25b409df33c051bddb86b0ebe3652932cf3af
54e797b90e042db0d1e37ce60efe29ca6c89fbed
2 changes: 1 addition & 1 deletion rollup.config.js.REMOVED.git-id
@@ -1 +1 @@
7b22bd3aa61d5cebc9575b28afa384f841bbecfd
5f2104ef6d67ec5358c725c18523b638f5f5d3ee
1 change: 1 addition & 0 deletions scripts/mangleErrors.js.REMOVED.git-id
@@ -0,0 +1 @@
d8b8502a52b248ac7e5ebc22f33a4763e05af8b2
15 changes: 15 additions & 0 deletions src/utils/formatProdErrorMessage.ts
@@ -0,0 +1,15 @@
/**
* Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js
*
* Do not require this module directly! Use normal throw error calls. These messages will be replaced with error codes
* during build.
* @param {number} code
*/
function formatProdErrorMessage(code: number) {
return (
`Minified Redux error #${code}; visit https://redux.js.org/Errors?code=${code} for the full message or ` +
'use the non-minified dev environment for full errors. '
)
}

export default formatProdErrorMessage
2 changes: 1 addition & 1 deletion website/package-lock.json.REMOVED.git-id

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion website/package.json
Expand Up @@ -10,7 +10,8 @@
"@docusaurus/preset-classic": "2.0.0-alpha.70",
"classnames": "2.2.6",
"react": "16.13.0",
"react-dom": "16.13.0"
"react-dom": "16.13.0",
"url-search-params-polyfill": "^8.1.0"
},
"browserslist": {
"production": [
Expand Down
1 change: 1 addition & 0 deletions website/src/pages/errors.js.REMOVED.git-id
@@ -0,0 +1 @@
4a9fe3136941851101c36c484a1cdd430f62e374
43 changes: 0 additions & 43 deletions website/src/pages/styles.module.css

This file was deleted.

1 change: 1 addition & 0 deletions website/src/pages/styles.module.css.REMOVED.git-id
@@ -0,0 +1 @@
cb8fc5f82406bf8ec0fd1a0edc4fa2f5d787756c

0 comments on commit 9531f7f

Please sign in to comment.