Bug Fixing

This commit is contained in:
ajat91.sudrajat 2022-01-24 18:38:20 +07:00
parent c4737e8660
commit dcc2eb59df

View File

@ -409,11 +409,6 @@ export const DetailUser = observer(() => {
)} )}
{store.authentication.userData.role === "Admin" && ( {store.authentication.userData.role === "Admin" && (
<Button <Button
type={
store.membership.dataDetail.is_active === true
? "danger"
: "primary"
}
onClick={() => withdrawProfit(store.membership.dataDetail.id)} onClick={() => withdrawProfit(store.membership.dataDetail.id)}
> >
Withdraw Profit Withdraw Profit