formatted date string and image bug
This commit was merged in pull request #76.
This commit is contained in:
@@ -6,7 +6,7 @@ import {useQuery} from '@tanstack/react-query';
|
||||
import queryKeys from '../../services/queryKeys';
|
||||
import siteLinks from "../../links/siteLinks";
|
||||
import {Link, useNavigate} from 'react-router-dom'
|
||||
import getDateFromDateString from '../../helpers/GetDateFromDateString';
|
||||
import getDateTimeFromDateString from '../../helpers/getDateTimeFromDateString';
|
||||
|
||||
export default function Subscription() {
|
||||
const navigate = useNavigate()
|
||||
@@ -58,7 +58,7 @@ export default function Subscription() {
|
||||
</div>
|
||||
<div className="pt-2" style={{textAlign: 'left'}}>
|
||||
<div style={{fontSize: '12px', fontWeight: 'bolder' , color: "#3E3699" }}>
|
||||
Next Payment: {getDateFromDateString(currentSubscription?.next_payment)}
|
||||
Next Payment: {getDateTimeFromDateString(currentSubscription?.next_payment)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user