File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -405,16 +405,16 @@ export const ensureNoResultsElement = function (
405405 msg . id = msgId ;
406406 msg . className = "text-gray-700 dark:text-gray-300 mt-2" ;
407407 msg . style . display = "none" ;
408- const span = document . createElement ( "span" ) ;
409- span . id = spanId ;
408+ const newSpan = document . createElement ( "span" ) ;
409+ newSpan . id = spanId ;
410410 msg . appendChild (
411411 document . createTextNode ( `No ${ entityLabel } found containing \u201C` )
412412 ) ;
413- msg . appendChild ( span ) ;
413+ msg . appendChild ( newSpan ) ;
414414 msg . appendChild ( document . createTextNode ( "\u201D" ) ) ;
415415 // Insert right after the container
416416 container . parentNode . insertBefore ( msg , container . nextSibling ) ;
417- return { msg, span } ;
417+ return { msg, span : newSpan } ;
418418} ;
419419
420420/**
You can’t perform that action at this time.
0 commit comments