Remove 'setting-toggle.scss'

This commit is contained in:
Chewbacca 2022-11-16 14:35:20 -05:00
parent 44066a006a
commit 0ebdbc0f91
3 changed files with 1 additions and 10 deletions

View file

@ -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>
);

View file

@ -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';

View file

@ -1,3 +0,0 @@
.setting-toggle__label {
color: var(--gray-800);
}