mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 12:11:21 -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">
|
<div className="divide-y">
|
||||||
{results.map((result) => (
|
{results.map((result) => (
|
||||||
<button
|
<button
|
||||||
|
type="button"
|
||||||
key={result.place_id}
|
key={result.place_id}
|
||||||
onClick={() => handleSelectResult(result)}
|
onClick={() => handleSelectResult(result)}
|
||||||
className="w-full text-left p-3 hover:bg-accent transition-colors"
|
className="w-full text-left p-3 hover:bg-accent transition-colors"
|
||||||
|
|||||||
Reference in New Issue
Block a user