diff --git a/app/javascript/hotwire_spark/reloaders/css_reloader.js b/app/javascript/hotwire_spark/reloaders/css_reloader.js index bd5c457d..0ee7235c 100644 --- a/app/javascript/hotwire_spark/reloaders/css_reloader.js +++ b/app/javascript/hotwire_spark/reloaders/css_reloader.js @@ -49,7 +49,6 @@ export class CssReloader { log(`\t${href}`) resolve() } - link.parentNode.replaceChild(newLink, link) }) }