chore: updates

This commit is contained in:
Tristan Yang
2023-04-17 12:07:33 +08:00
parent 6f80b78524
commit 962bcdf4ac
3 changed files with 6 additions and 6 deletions
@@ -26,7 +26,7 @@ const getExpireDay = (sub_dur: PriceSubscriptionDuration) => {
let res = currDate;
switch (sub_dur) {
case "year":
res = currDate.add(1, "year");
res = currDate.add(100, "year");
break;
case "month":
res = currDate.add(1, "month");
+4 -4
View File
@@ -88,7 +88,7 @@ export default function ConfigAgora() {
/>
</div>
<div className="input">
<Label htmlFor="rtm_key">RTM Key</Label>
<Label htmlFor="rtm_key">Customer ID</Label>
<Textarea
spellCheck={false}
disabled={!enabled}
@@ -96,11 +96,11 @@ export default function ConfigAgora() {
onChange={handleChange}
value={rtm_key}
name="rtm_key"
placeholder="RTM Key"
placeholder="Customer ID for RESTful API"
/>
</div>
<div className="input">
<Label htmlFor="rtm_secret">RTM Secret</Label>
<Label htmlFor="rtm_secret">Customer Secret</Label>
<Textarea
spellCheck={false}
disabled={!enabled}
@@ -108,7 +108,7 @@ export default function ConfigAgora() {
onChange={handleChange}
value={rtm_secret}
name="rtm_secret"
placeholder="RTM Secret"
placeholder="Customer Secret for RESTful API"
/>
</div>
</div>