Skip to content

Commit

Permalink
compiler: update comment on memo cache import code
Browse files Browse the repository at this point in the history
ghstack-source-id: b6c98c78854c9125bef504731515b9854c01960d
Pull Request resolved: #29142
  • Loading branch information
josephsavona committed May 17, 2024
1 parent ecddf3c commit 6400172
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function hasExistingNonNamespacedImportOfModule(
}

/*
* If an existing import of React exists (ie `import {useMemo} from 'react'`), inject useMemoCache
* If an existing import of React exists (ie `import { ... } from '<moduleName>'`), inject useMemoCache
* into the list of destructured variables.
*/
function addMemoCacheFunctionSpecifierToExistingImport(
Expand Down

0 comments on commit 6400172

Please sign in to comment.