File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed 
api/migration-tool/cross-extension-messaging/nami 
ui/lace-migration/components Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11import  secrets  from  '../../../../config/provider' ; 
22
33if  ( secrets . LACE_EXTENSION_ID  ===  undefined )  { 
4-   throw  new  Error ( 'process.env. LACE_EXTENSION_ID must be defined' ) ; 
4+   throw  new  Error ( 'LACE_EXTENSION_ID must be defined' ) ; 
55} 
66export  const  LACE_EXTENSION_ID  =  secrets . LACE_EXTENSION_ID ; 
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import { STORAGE } from '../../../config/config';
1717import  {  setStorage ,  getAccounts  }  from  '../../../api/extension' ; 
1818import  {  useFeatureFlagsContext  }  from  '../../../features/feature-flags/provider' ; 
1919import  {  App  }  from  '../../app' ; 
20+ import  secrets  from  '../../../config/provider' ; 
2021
2122const  isDismissedTimeInPast  =  ( dismissedUntil )  => 
2223  ! ! dismissedUntil  &&  dismissedUntil  >  Date . now ( ) ; 
@@ -149,7 +150,7 @@ export const AppWithMigration = () => {
149150      onDownloadLaceClicked = { ( )  =>  { 
150151        captureEvent ( Events . MigrationDownloadLaceClicked ) ; 
151152        window . open ( 
152-           `https://chromewebstore.google.com/detail/lace/${ process . env . LACE_EXTENSION_ID }  
153+           `https://chromewebstore.google.com/detail/lace/${ secrets . LACE_EXTENSION_ID }  
153154        ) ; 
154155      } } 
155156      onOpenLaceClicked = { ( )  =>  { 
@@ -166,7 +167,7 @@ export const AppWithMigration = () => {
166167        }  else  { 
167168          captureEvent ( Events . MigrationDownloadLaceClicked ,  {  noWallet : true  } ) ; 
168169          window . open ( 
169-             `https://chromewebstore.google.com/detail/lace/${ process . env . LACE_EXTENSION_ID }  
170+             `https://chromewebstore.google.com/detail/lace/${ secrets . LACE_EXTENSION_ID }  
170171          ) ; 
171172        } 
172173      } } 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments