From a1e8dc8f3aa6852da46e42df39540c9fd0ed43f7 Mon Sep 17 00:00:00 2001 From: simonpai Date: Thu, 3 Jan 2019 19:34:00 +0800 Subject: [PATCH] Fine tune --- src/renderer/component/rule/userscript/Settings.js | 3 +-- src/renderer/container/SessionPanel.js | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/renderer/component/rule/userscript/Settings.js b/src/renderer/component/rule/userscript/Settings.js index a5a17b1..c16b738 100644 --- a/src/renderer/component/rule/userscript/Settings.js +++ b/src/renderer/component/rule/userscript/Settings.js @@ -3,13 +3,12 @@ import PropTypes from 'prop-types'; import { Form } from 'semantic-ui-react'; function UserscriptSettingsSection({rule, onNameChange}) { - const {id, data} = rule; + const {data} = rule; return (
-

Userscript {id}

}, + /* { name: 'settings', label: 'Settings', render: () => }, + */ { name: 'console', label: 'Console',