From 3bb7fd4955f56b084d0bbe90823c8f9275d45f6c Mon Sep 17 00:00:00 2001 From: Roman Zipp Date: Sun, 12 May 2024 10:27:16 +0200 Subject: [PATCH] Fix status notice unused prop types --- src/entries/contentScript/components/StatusNotice.jsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/entries/contentScript/components/StatusNotice.jsx b/src/entries/contentScript/components/StatusNotice.jsx index da9bd8c..2de807e 100644 --- a/src/entries/contentScript/components/StatusNotice.jsx +++ b/src/entries/contentScript/components/StatusNotice.jsx @@ -4,7 +4,6 @@ import { SignalIcon } from '@heroicons/react/16/solid'; import { useTranslation } from 'react-i18next'; import classNames from 'classnames'; import { buildFrontendUrl } from '~/common/utility'; -import { STATE_DEFAULT, STATE_LIVE, STATE_OWN_VIDEO } from '~/hooks/useAuth'; import { useAppStore } from '~/entries/contentScript/state'; function StatusNotice({ @@ -49,11 +48,6 @@ function StatusNotice({ } StatusNotice.propTypes = { - state: PropTypes.oneOf([ - STATE_DEFAULT, - STATE_LIVE, - STATE_OWN_VIDEO, - ]), liveStream: PropTypes.shape({ title: PropTypes.string, account: PropTypes.shape({ @@ -67,7 +61,6 @@ StatusNotice.propTypes = { StatusNotice.defaultProps = { liveStream: null, - state: STATE_DEFAULT, }; export default StatusNotice;