mirror of
				https://github.com/karl0ss/homepage.git
				synced 2025-11-04 08:20:58 +00:00 
			
		
		
		
	Fix search broken in 0.6.5
This commit is contained in:
		
							parent
							
								
									c5ac34a6b5
								
							
						
					
					
						commit
						ce644afe9e
					
				@ -84,7 +84,7 @@ export default function Search({ options }) {
 | 
			
		||||
  function handleSubmit(event) {
 | 
			
		||||
    const q = encodeURIComponent(query);
 | 
			
		||||
 | 
			
		||||
    const url = { selectedProvider };
 | 
			
		||||
    const { url } = selectedProvider;
 | 
			
		||||
    if (url) {
 | 
			
		||||
      window.open(`${url}${q}`, options.target || "_blank");
 | 
			
		||||
    } else {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user