File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
libs/remix-ui/editor/src/lib Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,6 @@ export const EditorUI = (props: EditorUIProps) => {
190
190
const currentFunction = useRef ( '' )
191
191
const currentFileRef = useRef ( '' )
192
192
const currentUrlRef = useRef ( '' )
193
- let currentFunctionNode = useRef ( '' )
194
193
195
194
// const currentDecorations = useRef({ sourceAnnotationsPerFile: {}, markerPerFile: {} }) // decorations that are currently in use by the editor
196
195
// const registeredDecorations = useRef({}) // registered decorations
@@ -1122,7 +1121,6 @@ export const EditorUI = (props: EditorUIProps) => {
1122
1121
const functionImpl = nodesAtPosition . find ( ( node ) => node . kind === 'function' )
1123
1122
if ( functionImpl ) {
1124
1123
currentFunction . current = functionImpl . name
1125
- currenFunctionNode = functionImpl
1126
1124
const generateDocumentationAction = executeGptGenerateDocumentationAction ( functionImpl )
1127
1125
1128
1126
generateDocumentationAction . label = intl . formatMessage ( { id : 'editor.generateDocumentation2' } , { name : functionImpl . name } )
You can’t perform that action at this time.
0 commit comments