{t('autoDetectTokens')}
diff --git a/ui/store/actionConstants.ts b/ui/store/actionConstants.ts
index 3cbc24497..0a48192b5 100644
--- a/ui/store/actionConstants.ts
+++ b/ui/store/actionConstants.ts
@@ -13,6 +13,8 @@ export const IMPORT_NFTS_MODAL_OPEN = 'UI_IMPORT_NFTS_MODAL_OPEN';
export const IMPORT_NFTS_MODAL_CLOSE = 'UI_IMPORT_NFTS_MODAL_CLOSE';
export const SHOW_IPFS_MODAL_OPEN = 'UI_IPFS_MODAL_OPEN';
export const SHOW_IPFS_MODAL_CLOSE = 'UI_IPFS_MODAL_CLOSE';
+export const IMPORT_TOKENS_POPOVER_OPEN = 'UI_IMPORT_TOKENS_POPOVER_OPEN';
+export const IMPORT_TOKENS_POPOVER_CLOSE = 'UI_IMPORT_TOKENS_POPOVER_CLOSE';
// remote state
export const UPDATE_METAMASK_STATE = 'UPDATE_METAMASK_STATE';
export const SELECTED_ADDRESS_CHANGED = 'SELECTED_ADDRESS_CHANGED';
diff --git a/ui/store/actions.ts b/ui/store/actions.ts
index b7751a7ed..6d92e5b1b 100644
--- a/ui/store/actions.ts
+++ b/ui/store/actions.ts
@@ -2381,6 +2381,18 @@ export function hideNetworkDropdown() {
};
}
+export function showImportTokensModal(): Action {
+ return {
+ type: actionConstants.IMPORT_TOKENS_POPOVER_OPEN,
+ };
+}
+
+export function hideImportTokensModal(): Action {
+ return {
+ type: actionConstants.IMPORT_TOKENS_POPOVER_CLOSE,
+ };
+}
+
type ModalPayload = { name: string } & Record;
export function showModal(payload: ModalPayload): PayloadAction {