diff --git a/src/popup.tsx b/src/popup.tsx index 9786e53..102495c 100644 --- a/src/popup.tsx +++ b/src/popup.tsx @@ -32,7 +32,6 @@ function IndexPopup() { documentLink?: string; }>(null); const isShowErrorMessage = message?.type === MESSAGE_TYPE.ERROR; - const isShowSuccessMessage = message?.type === MESSAGE_TYPE.SUCCESS; const setErrorMessage = (message: string, documentLink?: string) => { setMessage({ type: MESSAGE_TYPE.ERROR, message, documentLink }); @@ -384,24 +383,6 @@ function IndexPopup() { )} - {isShowSuccessMessage && ( -