I had this condition at one point in that PR but for some reason I thought I did not need it, but of course we do.
📦 Published PR as canary version: 5.22.1--canary.953.11666335318.0
:sparkles: Test out this PR locally via:
```bash
npm install @grafana/scenes-react@5.22.1--canary.953.11666335318.0
npm install @grafana/scenes@5.22.1--canary.953.11666335318.0
# or
yarn add @grafana/scenes-react@5.22.1--canary.953.11666335318.0
yarn add @grafana/scenes@5.22.1--canary.953.11666335318.0
```
Was a bug in https://github.com/grafana/scenes/pull/944 where it now clones the state passed in with the
withState
function argument. This was not intended.I had this condition at one point in that PR but for some reason I thought I did not need it, but of course we do.
📦 Published PR as canary version:
5.22.1--canary.953.11666335318.0
:sparkles: Test out this PR locally via: ```bash npm install @grafana/scenes-react@5.22.1--canary.953.11666335318.0 npm install @grafana/scenes@5.22.1--canary.953.11666335318.0 # or yarn add @grafana/scenes-react@5.22.1--canary.953.11666335318.0 yarn add @grafana/scenes@5.22.1--canary.953.11666335318.0 ```