Skip to content

Commit

Permalink
Fix status notice unused prop types
Browse files Browse the repository at this point in the history
  • Loading branch information
romanzipp committed May 12, 2024
1 parent ab3ea20 commit 3bb7fd4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/entries/contentScript/components/StatusNotice.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down Expand Up @@ -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({
Expand All @@ -67,7 +61,6 @@ StatusNotice.propTypes = {

StatusNotice.defaultProps = {
liveStream: null,
state: STATE_DEFAULT,
};

export default StatusNotice;

0 comments on commit 3bb7fd4

Please sign in to comment.