Skip to content

Commit

Permalink
fix: fix set entry failed at some situations (#778)
Browse files Browse the repository at this point in the history
  • Loading branch information
mortalYoung authored Jul 14, 2022
1 parent 3114bd5 commit a8b608d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/workbench/editorService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export interface IEditorService extends Component<IEditor> {
/**
* Specify the Entry page of Workbench
*/
setEntry(component: React.ReactNode): void;
setEntry(component: JSX.Element): void;
/**
* Judge the specific tabs whether opened in Editor view
* @param tabId The tabId is required
Expand Down

0 comments on commit a8b608d

Please sign in to comment.