From 37851906f2e67126fdde7535843e31b45f6acf3d Mon Sep 17 00:00:00 2001 From: aryan262 Date: Mon, 9 Sep 2024 12:25:00 +0530 Subject: [PATCH] "Added useCallback import from 'react' in popup.js" --- browser-extension/src/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser-extension/src/popup.js b/browser-extension/src/popup.js index f19a9220..66951f47 100644 --- a/browser-extension/src/popup.js +++ b/browser-extension/src/popup.js @@ -1,5 +1,5 @@ import openCustomProtocolURI from "custom-protocol-check"; -import React, { useEffect, useState } from "react"; +import React, { useEffect, useState, useCallback } from "react"; import ReactDOM from "react-dom"; import spinner from "./spinner.svg";