Fix: fix bing search logo (#4571)

pull/4585/head v0.10.9
shamoon 2 weeks ago committed by GitHub
parent fd50241e2a
commit b5f4daa8ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,7 +1,8 @@
import { useState, useEffect, Fragment } from "react"; import { useState, useEffect, Fragment } from "react";
import { useTranslation } from "next-i18next"; import { useTranslation } from "next-i18next";
import { FiSearch } from "react-icons/fi"; import { FiSearch } from "react-icons/fi";
import { SiDuckduckgo, SiMicrosoftbing, SiGoogle, SiBaidu, SiBrave } from "react-icons/si"; import { SiDuckduckgo, SiGoogle, SiBaidu, SiBrave } from "react-icons/si";
import { BiLogoBing } from "react-icons/bi";
import { Listbox, Transition, Combobox } from "@headlessui/react"; import { Listbox, Transition, Combobox } from "@headlessui/react";
import classNames from "classnames"; import classNames from "classnames";
@ -25,7 +26,7 @@ export const searchProviders = {
name: "Bing", name: "Bing",
url: "https://www.bing.com/search?q=", url: "https://www.bing.com/search?q=",
suggestionUrl: "https://api.bing.com/osjson.aspx?query=", suggestionUrl: "https://api.bing.com/osjson.aspx?query=",
icon: SiMicrosoftbing, icon: BiLogoBing,
}, },
baidu: { baidu: {
name: "Baidu", name: "Baidu",

Loading…
Cancel
Save