From 4dfe7fbb77d404818996cfe86cfda8f233f74c40 Mon Sep 17 00:00:00 2001 From: estrattonbailey Date: Fri, 30 Apr 2021 11:36:38 -0500 Subject: [PATCH] remove hydration logging in dev --- addon/hydrate.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/addon/hydrate.js b/addon/hydrate.js index 67ebfbb1..90ec6b05 100644 --- a/addon/hydrate.js +++ b/addon/hydrate.js @@ -20,14 +20,7 @@ exports.addon = function (renderer) { var put = renderer.put; renderer.put = function (selector, css) { - if (selector in hydrated) { - if (process.env.NODE_ENV !== 'production') { - // eslint-disable-next-line - console.info('Hydrated selector: ' + selector); - } - - return; - } + if (selector in hydrated) return; put(selector, css); };