updated Sidebar

This commit is contained in:
Abhinav-grd 2021-03-12 22:52:19 +05:30
parent 03175e5171
commit 39e30abbda

View file

@ -54,7 +54,12 @@ export default function Sidebar(props: Props) {
itemListElement="div"
>
<div style={{ outline: 'none' }}>
{constants.SUBCRIPTION_PLAN}
<h4>{constants.SUBCRIPTION_PLAN}</h4>
{constants.SUBSCRIPTION_INFO(
subscription?.productID,
subscription?.expiryTime
)}
<Button
variant="success"
size="sm"
@ -68,13 +73,10 @@ export default function Sidebar(props: Props) {
/>
<br />
<br />
{constants.SUBSCRIPTION_INFO(subscription?.productID)}
<br />
<br />
</div>
<div style={{ outline: 'none' }}>
<h4>{constants.USAGE_DETAILS}</h4>
<br />
<div>
{usage ? (
constants.USAGE_INFO(
@ -88,7 +90,6 @@ export default function Sidebar(props: Props) {
)}
</div>
<br />
<br />
</div>
<>
<ConfirmLogout