Skip to content

Commit

Permalink
feat: optimize dataType interface name
Browse files Browse the repository at this point in the history
  • Loading branch information
mumiao committed Dec 21, 2020
1 parent 456168c commit 7023127
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/workbench/editor/editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { Icon } from 'mo/components/icon';
import Welcome from './welcome';
import { IEditor, IEditorGroup } from 'mo/model';

interface dataType {
interface DtaType {
modified?: boolean;
language?: string | undefined;
path?: string;
Expand Down Expand Up @@ -52,7 +52,7 @@ function renderEditorGroup(
});
return (
<div className={groupClassName} key={`group-${group.id}`}>
<Tabs<dataType>
<Tabs<DtaType>
closable={true}
type="card"
data={tabs}
Expand Down

0 comments on commit 7023127

Please sign in to comment.