From 8260ae0d7e073b25485deec341bf6ffd7534f6ee Mon Sep 17 00:00:00 2001 From: Jack Pope Date: Tue, 15 Oct 2024 14:13:17 -0400 Subject: [PATCH] lint --- .../src/Optimization/InlineJsxTransform.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/compiler/packages/babel-plugin-react-compiler/src/Optimization/InlineJsxTransform.ts b/compiler/packages/babel-plugin-react-compiler/src/Optimization/InlineJsxTransform.ts index ec27e4cf6778d..d71d2f1f29be7 100644 --- a/compiler/packages/babel-plugin-react-compiler/src/Optimization/InlineJsxTransform.ts +++ b/compiler/packages/babel-plugin-react-compiler/src/Optimization/InlineJsxTransform.ts @@ -41,7 +41,6 @@ import { mapInstructionValueOperands, mapTerminalOperands, } from '../HIR/visitors'; -import {identifier} from '@babel/types'; type InlinedJsxDeclarationMap = Map< DeclarationId, @@ -666,7 +665,7 @@ function handlePlace( place: Place, blockId: BlockId, inlinedJsxDeclarations: InlinedJsxDeclarationMap, -) { +): Place { const inlinedJsxDeclaration = inlinedJsxDeclarations.get( place.identifier.declarationId, ); @@ -684,7 +683,7 @@ function handlelValue( lvalue: Place, blockId: BlockId, inlinedJsxDeclarations: InlinedJsxDeclarationMap, -) { +): Place { const inlinedJsxDeclaration = inlinedJsxDeclarations.get( lvalue.identifier.declarationId, );