diff --git a/src/components/Actions/GenButtons.jsx b/src/components/Actions/GenButtons.jsx index 91c8d7d..0f01ffe 100644 --- a/src/components/Actions/GenButtons.jsx +++ b/src/components/Actions/GenButtons.jsx @@ -188,14 +188,6 @@ export const BanUserSiteButton = ({ person, ...props }) => { placeholder={`${actionText.toLowerCase()} reason`} />, !person.banned ? ( - - ) : null, - !person ? ( { setValue={setExpires} /> ) : null, + !person.banned ? ( + + ) : null, ]} // disabled={banReason == ""} buttonMessage={actionText}