diff --git a/packages/rxjs-spy-devtools-plugin/README.md b/packages/rxjs-spy-devtools-plugin/README.md index 39ff9d0..7ad3185 100644 --- a/packages/rxjs-spy-devtools-plugin/README.md +++ b/packages/rxjs-spy-devtools-plugin/README.md @@ -17,11 +17,9 @@ spy.plug(devtoolsPlugin); // We must teardown the spy if we're hot-reloading: if (module.hot) { - if (module.hot) { - module.hot.dispose(() => { - spy.teardown(); - }); - } + module.hot.dispose(() => { + spy.teardown(); + }); } ```