Skip to content

Commit

Permalink
Avoid unnnecessarily renaming field read from props
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbrignull committed Oct 11, 2023
1 parent c6a9f23 commit 62c9e51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions extensions/ql-vscode/src/view/model-editor/LibraryRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const LibraryRow = ({
title,
libraryVersion,
methods,
modeledMethodsMap: modeledMethods,
modeledMethodsMap,
modifiedSignatures,
inProgressMethods,
viewState,
Expand Down Expand Up @@ -231,7 +231,7 @@ export const LibraryRow = ({
<ModeledMethodDataGrid
packageName={title}
methods={methods}
modeledMethodsMap={modeledMethods}
modeledMethodsMap={modeledMethodsMap}
modifiedSignatures={modifiedSignatures}
inProgressMethods={inProgressMethods}
viewState={viewState}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const libraryNameOverrides: Record<string, string> = {

export const ModeledMethodsList = ({
methods,
modeledMethodsMap: modeledMethods,
modeledMethodsMap,
modifiedSignatures,
inProgressMethods,
viewState,
Expand Down Expand Up @@ -82,7 +82,7 @@ export const ModeledMethodsList = ({
title={libraryNameOverrides[libraryName] ?? libraryName}
libraryVersion={libraryVersions[libraryName]}
methods={grouped[libraryName]}
modeledMethodsMap={modeledMethods}
modeledMethodsMap={modeledMethodsMap}
modifiedSignatures={modifiedSignatures}
inProgressMethods={inProgressMethods}
viewState={viewState}
Expand Down

0 comments on commit 62c9e51

Please sign in to comment.