get rid of polyfill since this is just chrome anyway.

This commit is contained in:
fiatjaf
2022-12-18 06:59:49 -03:00
committed by fiatjaf
parent 546a6d35ef
commit a935a8c026
9 changed files with 52 additions and 54 deletions

View File

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