Removed testing log statements

This commit is contained in:
BuildTools 2021-12-19 14:36:49 -06:00
parent 3120d97cfa
commit cbfdfa5753

@ -461,7 +461,6 @@ export function Root(props: IProps): React.ReactElement {
} }
function onDragEnd(result: any) { function onDragEnd(result: any) {
console.log(openScripts);
// Dropped outside of the list // Dropped outside of the list
if (!result.destination) { if (!result.destination) {
result result
@ -504,8 +503,6 @@ export function Root(props: IProps): React.ReactElement {
savedScriptCode = savedOpenScripts[savedScriptIndex].code; savedScriptCode = savedOpenScripts[savedScriptIndex].code;
} }
console.log(savedScriptCode)
let serverScriptIndex = GetServer(closingScript.hostname)?.scripts.findIndex(script => script.filename === closingScript.fileName); let serverScriptIndex = GetServer(closingScript.hostname)?.scripts.findIndex(script => script.filename === closingScript.fileName);
if (serverScriptIndex === -1 || savedScriptCode !== GetServer(closingScript.hostname)?.scripts[serverScriptIndex as number].code) { if (serverScriptIndex === -1 || savedScriptCode !== GetServer(closingScript.hostname)?.scripts[serverScriptIndex as number].code) {
PromptEvent.emit({ PromptEvent.emit({