feat: add weekly reward loop, i18n support, and scan terminal dashboard components
This commit is contained in:
@@ -822,8 +822,13 @@ function PolyWeatherTerminal({
|
||||
>
|
||||
{visibleSlots.map((cityInSlot, slotIndex) => {
|
||||
const isSlotActive = activeSlotIndex === slotIndex;
|
||||
const rowForSlot = cityInSlot
|
||||
? filteredRegionRows.find(
|
||||
(r) => String(r.city || "").toLowerCase() === cityInSlot
|
||||
) || null
|
||||
: null;
|
||||
|
||||
if (!cityInSlot) {
|
||||
if (!cityInSlot || !rowForSlot) {
|
||||
return (
|
||||
<div key={slotIndex} className="relative h-full">
|
||||
<EmptySlotCard
|
||||
@@ -850,10 +855,6 @@ function PolyWeatherTerminal({
|
||||
);
|
||||
}
|
||||
|
||||
const rowForSlot = filteredRegionRows.find(
|
||||
(r) => String(r.city || "").toLowerCase() === cityInSlot
|
||||
) || null;
|
||||
|
||||
return (
|
||||
<div
|
||||
key={slotIndex}
|
||||
|
||||
Reference in New Issue
Block a user