## 🐛 Bug Report
A clear and concise description of what the bug is.
## Link to repro
_A bug report without a reproduction is not a bug report. _
Please provide either a [CodeSandbox demo](https://codesandbox.io/s/immer-sandbox-6wijw), or a PR with a unit test. In limited cases, a minimal repository on GitHub is accepted as well.
## To Reproduce
Steps to reproduce the behavior:
## Observed behavior
A description of what behavior you observed and consider faulty.
## Expected behavior
A clear and concise description of what you expected to happen.
## Link to repro (highly encouraged)
Please provide either a [CodeSandbox demo](https://codesandbox.io/s/82zqr6n3kj) or a minimal repository on GitHub.
## Environment
We only accept bug reports against the latest Immer version.
- **Immer version:**
- [ ] Occurs with `setUseProxies(true)`
- [ ] Occurs with `setUseProxies(false)` (ES5 only)