Skip to content

Commit 7023127

Browse files
committed
feat: optimize dataType interface name
1 parent 456168c commit 7023127

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/workbench/editor/editor.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { Icon } from 'mo/components/icon';
1010
import Welcome from './welcome';
1111
import { IEditor, IEditorGroup } from 'mo/model';
1212

13-
interface dataType {
13+
interface DtaType {
1414
modified?: boolean;
1515
language?: string | undefined;
1616
path?: string;
@@ -52,7 +52,7 @@ function renderEditorGroup(
5252
});
5353
return (
5454
<div className={groupClassName} key={`group-${group.id}`}>
55-
<Tabs<dataType>
55+
<Tabs<DtaType>
5656
closable={true}
5757
type="card"
5858
data={tabs}

0 commit comments

Comments
 (0)