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