diff --git a/app/soapbox/features/chats/components/audio-toggle.tsx b/app/soapbox/features/chats/components/audio-toggle.tsx index 96ddf6211d..3f3cce397b 100644 --- a/app/soapbox/features/chats/components/audio-toggle.tsx +++ b/app/soapbox/features/chats/components/audio-toggle.tsx @@ -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 = ({ showLabel }) => { +const AudioToggle: React.FC = () => { const dispatch = useDispatch(); const intl = useIntl(); @@ -37,7 +33,6 @@ const AudioToggle: React.FC = ({ showLabel }) => { onChange={handleToggleAudio} // onKeyDown={this.onKeyDown} /> - {showLabel && ()} ); diff --git a/app/styles/application.scss b/app/styles/application.scss index b7e109f5bc..df2d96135e 100644 --- a/app/styles/application.scss +++ b/app/styles/application.scss @@ -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'; diff --git a/app/styles/components/setting-toggle.scss b/app/styles/components/setting-toggle.scss deleted file mode 100644 index 1acbcfffec..0000000000 --- a/app/styles/components/setting-toggle.scss +++ /dev/null @@ -1,3 +0,0 @@ -.setting-toggle__label { - color: var(--gray-800); -}