diff --git a/app/soapbox/components/badge.tsx b/app/soapbox/components/badge.tsx index 5afc4ee64b..b12ed768f5 100644 --- a/app/soapbox/components/badge.tsx +++ b/app/soapbox/components/badge.tsx @@ -1,15 +1,9 @@ import PropTypes from 'prop-types'; import React from 'react'; -import { useAppSelector } from 'soapbox/hooks'; - -const Badge = (props: any) => { - const title = useAppSelector(state => state.instance.titles); - - return ( - {props.title} - ); -}; +const Badge = (props: any) => ( + {props.title} +); Badge.propTypes = { title: PropTypes.string.isRequired,