mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-03-10 21:12:13 +00:00
When updating the data of a note in the redux, the old state element gets manipulated and will be dispatched again into the state. Redux is not optimized for external state-mutations and has some weird side-effects in that case and sometimes throws an error. This commit fixes the problem by using a clone of the entry. Signed-off-by: Erik Michelson <github@erik.michelson.eu> |
||
---|---|---|
.. | ||
.netlify | ||
cypress | ||
docker | ||
global-styles | ||
locales | ||
netlify | ||
public | ||
src | ||
.dockerignore | ||
.dockerignore.license | ||
.editorconfig | ||
.env.development | ||
.env.development.license | ||
.env.production | ||
.env.production.license | ||
.env.test | ||
.env.test.license | ||
.eslintrc.js | ||
.gitignore | ||
.nvmrc | ||
.nvmrc.license | ||
.prettierignore | ||
.prettierignore.license | ||
.prettierrc.json | ||
.prettierrc.json.license | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
cypress.config.ts | ||
jest.config.ts | ||
netlify.toml | ||
next-env.d.ts | ||
next-env.d.ts.license | ||
next.config.js | ||
package.json | ||
package.json.license | ||
renovate.json | ||
renovate.json.license | ||
tsconfig.json | ||
tsconfig.json.license |