Added in retrun funtion setExtendModel State
This commit is contained in:
parent
54857b7956
commit
c74befb4c8
|
|
@ -154,7 +154,7 @@ const useSubscriptionManager = (sessionData, logout) => {
|
||||||
return () => clearInterval(interval);
|
return () => clearInterval(interval);
|
||||||
}, [sessionData]);
|
}, [sessionData]);
|
||||||
|
|
||||||
return { remainingDays, handleCancel, handlePay, freeExtend, extendModel };
|
return { remainingDays, handleCancel, handlePay, freeExtend, extendModel,setExtendModel };
|
||||||
};
|
};
|
||||||
|
|
||||||
export default useSubscriptionManager;
|
export default useSubscriptionManager;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue