summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/control_panel
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/js/control_panel')
-rw-r--r--addons/web/static/src/js/control_panel/control_panel.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/addons/web/static/src/js/control_panel/control_panel.js b/addons/web/static/src/js/control_panel/control_panel.js
index fee26c3779d..5d42cfc2fbe 100644
--- a/addons/web/static/src/js/control_panel/control_panel.js
+++ b/addons/web/static/src/js/control_panel/control_panel.js
@@ -13,7 +13,7 @@ odoo.define('web.ControlPanel', function (require) {
const { useModel } = require('web.model');
const { Component, hooks } = owl;
- const { useRef, useState, useSubEnv } = hooks;
+ const { useRef, useSubEnv } = hooks;
/**
* TODO: remove this whole mechanism as soon as `cp_content` is completely removed.
@@ -116,9 +116,6 @@ odoo.define('web.ControlPanel', function (require) {
if (this.env.controlPanelModel) {
this.model = useModel('controlPanelModel');
}
- this.state = useState({
- displayDropdowns: true,
- });
// Reference hooks
this.contentRefs = {