Remove unused label variable in weather location dropdown

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Kyle 2026-02-21 12:20:37 +08:00
parent 4b5649758a
commit 7c02b4f824

View File

@ -309,7 +309,6 @@ export default function SettingsPage() {
{showDropdown && (
<div className="absolute z-50 mt-1 w-full rounded-md border bg-popover shadow-lg overflow-hidden">
{locationResults.map((loc, i) => {
const label = [loc.name, loc.state, loc.country].filter(Boolean).join(', ');
return (
<button
key={`${loc.lat}-${loc.lon}-${i}`}