update
This commit is contained in:
parent
2fba46d439
commit
9e7f310335
@ -1446,6 +1446,22 @@
|
|||||||
</div>
|
</div>
|
||||||
</details>
|
</details>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<details class="collapse collapse-arrow">
|
||||||
|
<summary
|
||||||
|
class="collapse-title text-white font-semibold text-[1rem] sm:text-xl flex items-center justify-between w-full text-left py-5"
|
||||||
|
>Is there an annual option?</summary
|
||||||
|
>
|
||||||
|
<div class="collapse-content">
|
||||||
|
<p
|
||||||
|
class="text-sm sm:text-[1rem] pb-5 text-gray-200 overflow-hidden transition-all duration-300 ease-in-out"
|
||||||
|
>
|
||||||
|
Yes, you can select the annual option. It costs $59.88 per
|
||||||
|
year, which is equivalent to getting 6 months free.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</details>
|
||||||
|
</li>
|
||||||
<!--
|
<!--
|
||||||
<li>
|
<li>
|
||||||
<details class="collapse collapse-arrow">
|
<details class="collapse collapse-arrow">
|
||||||
|
|||||||
@ -143,9 +143,9 @@
|
|||||||
const newListMap = new Map(newList.map((item) => [item.symbol, item]));
|
const newListMap = new Map(newList.map((item) => [item.symbol, item]));
|
||||||
|
|
||||||
// Use for loop instead of forEach for better performance
|
// Use for loop instead of forEach for better performance
|
||||||
for (let i = 0; i < oldList.length; i++) {
|
for (let i = 0; i < oldList?.length; i++) {
|
||||||
const item = oldList[i];
|
const item = oldList[i];
|
||||||
const newItem = newListMap.get(item?.symbol);
|
const newItem = newListMap?.get(item?.symbol);
|
||||||
|
|
||||||
if (newItem) {
|
if (newItem) {
|
||||||
// Calculate the new changePercentage
|
// Calculate the new changePercentage
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user