Remove 'setting-toggle.scss'
This commit is contained in:
parent
44066a006a
commit
0ebdbc0f91
3 changed files with 1 additions and 10 deletions
|
@ -11,11 +11,7 @@ const messages = defineMessages({
|
|||
switchOff: { id: 'chats.audio_toggle_off', defaultMessage: 'Audio notification off' },
|
||||
});
|
||||
|
||||
interface IAudioToggle {
|
||||
showLabel?: boolean
|
||||
}
|
||||
|
||||
const AudioToggle: React.FC<IAudioToggle> = ({ showLabel }) => {
|
||||
const AudioToggle: React.FC = () => {
|
||||
const dispatch = useDispatch();
|
||||
const intl = useIntl();
|
||||
|
||||
|
@ -37,7 +33,6 @@ const AudioToggle: React.FC<IAudioToggle> = ({ showLabel }) => {
|
|||
onChange={handleToggleAudio}
|
||||
// onKeyDown={this.onKeyDown}
|
||||
/>
|
||||
{showLabel && (<label htmlFor={id} className='setting-toggle__label'>{label}</label>)}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -50,7 +50,6 @@
|
|||
@import 'components/wtf-panel';
|
||||
@import 'components/profile-media-panel';
|
||||
@import 'components/profile-info-panel';
|
||||
@import 'components/setting-toggle';
|
||||
@import 'components/spoiler-button';
|
||||
@import 'components/video-player';
|
||||
@import 'components/audio-player';
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
.setting-toggle__label {
|
||||
color: var(--gray-800);
|
||||
}
|
Loading…
Reference in a new issue