Remove unused label variable in weather location dropdown
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
4b5649758a
commit
7c02b4f824
@ -309,7 +309,6 @@ export default function SettingsPage() {
|
|||||||
{showDropdown && (
|
{showDropdown && (
|
||||||
<div className="absolute z-50 mt-1 w-full rounded-md border bg-popover shadow-lg overflow-hidden">
|
<div className="absolute z-50 mt-1 w-full rounded-md border bg-popover shadow-lg overflow-hidden">
|
||||||
{locationResults.map((loc, i) => {
|
{locationResults.map((loc, i) => {
|
||||||
const label = [loc.name, loc.state, loc.country].filter(Boolean).join(', ');
|
|
||||||
return (
|
return (
|
||||||
<button
|
<button
|
||||||
key={`${loc.lat}-${loc.lon}-${i}`}
|
key={`${loc.lat}-${loc.lon}-${i}`}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user