This commit is contained in:
MuslemRahimi 2024-11-26 19:36:44 +01:00
parent 2fba46d439
commit 9e7f310335
2 changed files with 18 additions and 2 deletions

View File

@ -1446,6 +1446,22 @@
</div>
</details>
</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>
<details class="collapse collapse-arrow">

View File

@ -143,9 +143,9 @@
const newListMap = new Map(newList.map((item) => [item.symbol, item]));
// 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 newItem = newListMap.get(item?.symbol);
const newItem = newListMap?.get(item?.symbol);
if (newItem) {
// Calculate the new changePercentage