import { useEffect, useState } from "react" import * as environment from "../environment" import { Button } from "@/components/ui/button" interface Props { isOptions?: boolean show: boolean } const openInNewTab = (url: string): void => { const newWindow = window.open(url, "_blank", "noopener,noreferrer") if (newWindow) newWindow.opener = null } export const BraveModal = ({ show, isOptions }: Props) => { const [showModal, setShowModal] = useState(show) useEffect(() => { setShowModal(show) }, [show]) return (
Attention Brave Users

Due to a{" "} recent Brave update (1.36.109) , some results may not display correctly. Disabling, in Brave settings, the{" "} Restrict Websocket Pool flag and restart browser will help.

) }