File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,8 @@ hide_title: true
66description : ' createSelector' 
77--- 
88
9- import  Tabs  from  ' @theme/Tabs' 
109import  TabItem  from  ' @theme/TabItem' 
11- 
10+ import   Tabs   from   ' @theme/Tabs ' 
1211import  { InternalLinks  } from  ' @site/src/components/InternalLinks' 
1312
1413# ` createSelector `  
@@ -211,6 +210,8 @@ const selectTodoIds = createAppSelector(
211210
212211{ /*  END: createSelector/annotateResultFunction.ts */ } 
213212
213+ 3 .  Use the <InternalLinks.ConvertInputSelectorsToArray  /> codemod to convert your inline input selectors to an array.
214+ 
214215:::
215216
216217:::tip
Original file line number Diff line number Diff line change @@ -89,5 +89,13 @@ export const InternalLinks = {
8989    < Link  to = "/api/createStructuredSelector"  title = "createStructuredSelector" > 
9090      < code > createStructuredSelector</ code > 
9191    </ Link > 
92+   ) ) , 
93+   ConvertInputSelectorsToArray : memo ( ( )  =>  ( 
94+     < Link 
95+       to = "/codemods#convertInputSelectorsToArray" 
96+       title = "convertInputSelectorsToArray" 
97+     > 
98+       < code > convertInputSelectorsToArray</ code > 
99+     </ Link > 
92100  ) ) 
93101}  as  const  satisfies  Record < string ,  FC < Props > > 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments