Skip to content

Commit

Permalink
Scene: remove z-index style in SelectDeviceFeature (#1942)
Browse files Browse the repository at this point in the history
  • Loading branch information
William-De71 authored Nov 30, 2023
1 parent a1e9af5 commit 6d740f0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions front/src/components/device/SelectDeviceFeature.css

This file was deleted.

5 changes: 1 addition & 4 deletions front/src/components/device/SelectDeviceFeature.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import { Component } from 'preact';
import { connect } from 'unistore/preact';
import Select from 'react-select';
import cx from 'classnames';

import { getDeviceFeatureName } from '../../utils/device';
import withIntlAsProp from '../../utils/withIntlAsProp';

import style from './SelectDeviceFeature.css';

class SelectDeviceFeature extends Component {
getOptions = async () => {
try {
Expand Down Expand Up @@ -121,7 +118,7 @@ class SelectDeviceFeature extends Component {
}
return (
<Select
className={cx('select-device-feature', style.deviceSelector)}
class="select-device-feature"
defaultValue={''}
value={selectedOption}
onChange={this.handleChange}
Expand Down

0 comments on commit 6d740f0

Please sign in to comment.