diff --git a/src/modules/explorer/components/ProposalActionsDialog.tsx b/src/modules/explorer/components/ProposalActionsDialog.tsx index 8a995d18..a02eda86 100644 --- a/src/modules/explorer/components/ProposalActionsDialog.tsx +++ b/src/modules/explorer/components/ProposalActionsDialog.tsx @@ -128,7 +128,6 @@ export const ProposalActionsDialog: React.FC = ({ open, handleClose }) => const liteDAOId = data?.liteDAOData?._id const shouldDisable = useIsProposalButtonDisabled(daoId) const { network, account } = useTezos() - const isMember = useIsMember(network, data?.liteDAOData?.tokenAddress || "", account) const handleOpenCustomProposalModal = (key: ProposalAction) => { setProposalAction(key) @@ -171,10 +170,8 @@ export const ProposalActionsDialog: React.FC = ({ open, handleClose }) => - elem.id === "off-chain" && isMember + elem.id === "off-chain" ? handleLiteProposal() - : elem.id === "off-chain" && !isMember - ? null : !shouldDisable ? elem.isLambda ? handleOpenCustomProposalModal(elem.id) @@ -182,25 +179,11 @@ export const ProposalActionsDialog: React.FC = ({ open, handleClose }) => : null } > - + {elem.name} {elem.description}{" "}