chore: remove log

This commit is contained in:
dap 2024-09-13 14:01:13 +08:00
parent d02c2129b6
commit d27a131877

View File

@ -89,7 +89,6 @@ function findIcon(path: string) {
const defaultFileIcon = 'bx:file';
const defaultFolderIcon = 'flat-color-icons:folder';
if (path.endsWith('.vm')) {
// todo
const realPath = path.slice(0, -3);
//
const icon = iconMap.find((item) => realPath.endsWith(item.key));
@ -117,7 +116,6 @@ function changeLanguageType(filename: string) {
function handleSelect(selectedKeys: Key[]) {
const [currentFile = ''] = selectedKeys as string[];
console.log(currentFile);
const currentCode = data[currentFile as keyof typeof data];
if (currentCode) {
// type