Optimize code. Update templates.

This commit is contained in:
2024-01-14 11:14:14 +08:00
parent b0be3bc4a7
commit bcf29f74ef
27 changed files with 125 additions and 247 deletions

View File

@@ -88,7 +88,7 @@ const FileSelector = ({
onChange?.(IMPORT_MAP_FILE_NAME)
}
const editTsConfig = () => {
const editTsconfig = () => {
if (hasEditing) {
return
}
@@ -200,7 +200,7 @@ const FileSelector = ({
<Item
value={'tsconfig.json'}
active={selectedFileName === TS_CONFIG_FILE_NAME}
onClick={editTsConfig}
onClick={editTsconfig}
readonly
/>
)}