Skip to content

Commit 7bf8b69

Browse files
committed
Remove unused vars
1 parent badeaa6 commit 7bf8b69

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

libs/remix-ui/editor/src/lib/remix-ui-editor.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ export const EditorUI = (props: EditorUIProps) => {
190190
const currentFunction = useRef('')
191191
const currentFileRef = useRef('')
192192
const currentUrlRef = useRef('')
193-
let currentFunctionNode = useRef('')
194193

195194
// const currentDecorations = useRef({ sourceAnnotationsPerFile: {}, markerPerFile: {} }) // decorations that are currently in use by the editor
196195
// const registeredDecorations = useRef({}) // registered decorations
@@ -1122,7 +1121,6 @@ export const EditorUI = (props: EditorUIProps) => {
11221121
const functionImpl = nodesAtPosition.find((node) => node.kind === 'function')
11231122
if (functionImpl) {
11241123
currentFunction.current = functionImpl.name
1125-
currenFunctionNode = functionImpl
11261124
const generateDocumentationAction = executeGptGenerateDocumentationAction(functionImpl)
11271125

11281126
generateDocumentationAction.label = intl.formatMessage({ id: 'editor.generateDocumentation2' }, { name: functionImpl.name })

0 commit comments

Comments
 (0)