Revert "get rid of polyfill since this is just chrome anyway."

This reverts commit a935a8c026.
This commit is contained in:
fiatjaf
2022-12-18 14:42:18 -03:00
parent 166f8a39bb
commit 6911f4b25b
10 changed files with 55 additions and 53 deletions

View File

@@ -1,3 +1,4 @@
import browser from 'webextension-polyfill'
import {render} from 'react-dom'
import React from 'react'
@@ -71,7 +72,7 @@ function Prompt() {
function authorizeHandler(condition) {
return function (ev) {
ev.preventDefault()
chrome.runtime.sendMessage({
browser.runtime.sendMessage({
prompt: true,
id,
host,