Removed unneeded console.log
This commit is contained in:
		@@ -20,7 +20,6 @@ function showImage(newImage : string){
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function convertImageToBase64(file : any){
 | 
					function convertImageToBase64(file : any){
 | 
				
			||||||
    console.log(inputImage)
 | 
					 | 
				
			||||||
    const reader = new FileReader()
 | 
					    const reader = new FileReader()
 | 
				
			||||||
    reader.onloadend = () => (console.log(data.value = reader.result?.toString().split(',')[1]))
 | 
					    reader.onloadend = () => (console.log(data.value = reader.result?.toString().split(',')[1]))
 | 
				
			||||||
    reader.readAsDataURL(file.target.files[0])
 | 
					    reader.readAsDataURL(file.target.files[0])
 | 
				
			||||||
@@ -50,7 +49,7 @@ function clear(){
 | 
				
			|||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
        <div class="w-4/5 flex items-center flex-col ml-6" id="imageImporter">
 | 
					        <div class="w-4/5 flex items-center flex-col ml-6" id="imageImporter">
 | 
				
			||||||
            <label class="block mb-2 text-sm font-medium text-gray-900 dark:text-white" for="file_input">Upload file</label>
 | 
					            <label class="block mb-2 text-sm font-medium text-gray-900 dark:text-white" for="file_input">Upload file</label>
 | 
				
			||||||
            <input id="imageLoader" ref="inputImage" class="block file:bg-inherit file:shadow-inherit dark:file:text-white file:border-inherit w-full text-sm text-gray-900 border border-gray-300 rounded-lg cursor-pointer bg-gray-50 dark:text-gray-400 focus:outline-none dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400" type="file" @change="convertImageToBase64" />
 | 
					            <input id="imageLoader" ref="inputImage" class="file-selector" type="file" @change="convertImageToBase64" />
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <div id="separator" class="bg-black h-full w-1" ></div>
 | 
					    <div id="separator" class="bg-black h-full w-1" ></div>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user