diff --git a/src/containers/Modals/AccountModal/index.tsx b/src/containers/Modals/AccountModal/index.tsx index dbbe78f..4d62220 100644 --- a/src/containers/Modals/AccountModal/index.tsx +++ b/src/containers/Modals/AccountModal/index.tsx @@ -16,10 +16,6 @@ import useUser from "src/store/useUser"; export const AccountModal: React.FC = ({ opened, onClose }) => { const user = useUser(state => state.user); - const isPremium = useUser(state => state.premium); - const isOrg = useUser(state => state.organization); - const isOrgAdmin = useUser(state => state.orgAdmin); - const premiumCancelled = useUser(state => state.premiumCancelled); const setVisible = useModal(state => state.setVisible); const logout = useUser(state => state.logout); @@ -48,12 +44,11 @@ export const AccountModal: React.FC = ({ opened, onClose }) => { - {isPremium ? "Premium" : "Free"}{" "} - {premiumCancelled ? "(Cancelled)" : isOrg && "(Organization)"} + Free @@ -63,28 +58,14 @@ export const AccountModal: React.FC = ({ opened, onClose }) => { - {isPremium && !premiumCancelled ? ( - - ) : ( - - )} +