From 610e423954ec9e31cf766eea4fb5cda3bc7cd4f8 Mon Sep 17 00:00:00 2001 From: callemand Date: Tue, 11 Jul 2023 15:26:10 +0200 Subject: [PATCH] fix eslint and prettier --- front/src/components/app.jsx | 2 +- server/services/node-red/lib/init.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/front/src/components/app.jsx b/front/src/components/app.jsx index 8fd6096b7a..f875373abd 100644 --- a/front/src/components/app.jsx +++ b/front/src/components/app.jsx @@ -139,7 +139,7 @@ import TuyaSetupPage from '../routes/integration/all/tuya/setup-page'; import TuyaDiscoverPage from '../routes/integration/all/tuya/discover-page'; // NodeRed integration -import NodeRedPage from "../routes/integration/all/node-red/setup-page"; +import NodeRedPage from '../routes/integration/all/node-red/setup-page'; const defaultState = getDefaultState(); const store = createStore(defaultState); diff --git a/server/services/node-red/lib/init.js b/server/services/node-red/lib/init.js index de820e8b98..86462a7d66 100644 --- a/server/services/node-red/lib/init.js +++ b/server/services/node-red/lib/init.js @@ -44,8 +44,6 @@ async function init() { } await this.saveConfiguration(configuration); - - return null; } module.exports = {