Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
29e0b309e5 | ||
|
|
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 {
|
||||
|
||||
Reference in new issue
Block a user