From c420e83bffe3ba0c6a7f5103a508e1dc48a07c17 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 18 Mar 2022 15:35:22 -0500 Subject: [PATCH] Throw out accidental badge.tsx changes --- app/soapbox/components/badge.tsx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/app/soapbox/components/badge.tsx b/app/soapbox/components/badge.tsx index 5afc4ee64..b12ed768f 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,