mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 08:11:13 -05:00
Fix: Prevent form submission on location selection
This commit is contained in:
@@ -216,6 +216,7 @@ export function LocationSearch({ onLocationSelect, initialLocationId, className
|
||||
<div className="divide-y">
|
||||
{results.map((result) => (
|
||||
<button
|
||||
type="button"
|
||||
key={result.place_id}
|
||||
onClick={() => handleSelectResult(result)}
|
||||
className="w-full text-left p-3 hover:bg-accent transition-colors"
|
||||
|
||||
Reference in New Issue
Block a user