Skip to content

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
chiaberry committed Jun 12, 2024
1 parent 2349a9e commit dde04f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions components/MapList/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function MapList({
title,
getMapIcon,
featurePk,
noDataMessage,
noFeaturesMessage,
}) {
const [filters, setFilters] = useState(filterSettings);
const [searchValue, setSearchValue] = useState("");
Expand All @@ -75,7 +75,6 @@ function MapList({
const featureCounts = useFeatureCounts({ geojson, filters });

const totalFeatureCount = useTotalFeatureCount(featureCounts);
console.log(totalFeatureCount);

// applies checkbox filter state to geojson
const filteredGeosjon = useCheckboxFilters({
Expand Down Expand Up @@ -191,7 +190,7 @@ function MapList({
ListItemContent={ListItemContent}
/>
) : (
<p>{noDataMessage}</p>
<p>{noFeaturesMessage}</p>
)}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion pages/signal-monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default function SignalMonitor() {
title="Signal monitor"
getMapIcon={getMapIcon}
featurePk="signal_id"
noDataMessage="There is no data"
noFeaturesMessage="Signal system operating normally."
/>
</>
);
Expand Down

0 comments on commit dde04f6

Please sign in to comment.