Compare commits

...

2 Commits

Author SHA1 Message Date
d1095847d8 link to subscriptions page from renew task
Some checks failed
continuous-integration/drone/push Build is failing
2024-04-11 15:11:11 +03:00
746a4177cf fix typo 2024-04-09 22:44:50 +03:00
2 changed files with 6 additions and 4 deletions

View File

@ -1,8 +1,8 @@
import { CachedMetadata } from "@snort/system";
import { FormattedMessage } from "react-intl";
import { Link } from "react-router-dom";
import { BaseUITask } from "@/Components/Tasks/index";
import { RenewSub } from "@/Pages/subscribe/RenewSub";
import { LoginSession } from "@/Utils/Login";
import { getCurrentSubscription } from "@/Utils/Subscription";
@ -26,7 +26,9 @@ export class RenewSubTask extends BaseUITask {
}}
/>
</p>
<RenewSub />
<Link to="/subscribe/manage">
<FormattedMessage defaultMessage="Renew" id="nWQFic" />
</Link>
</>
);
}

View File

@ -30,7 +30,7 @@ export function useRates(symbol: string, leaveOpen = true) {
ask: Number(tag[2]),
bid: Number(tag[3]),
low: Number(tag[4]),
hight: Number(tag[5]),
high: Number(tag[5]),
};
}
@ -57,7 +57,7 @@ export function useRateHistory(symbol: string, size: number, leaveOpen = false)
ask: Number(tag[2]),
bid: Number(tag[3]),
low: Number(tag[4]),
hight: Number(tag[5]),
high: Number(tag[5]),
};
}),
);