Skip to content

Commit a8b608d

Browse files
authored
fix: fix set entry failed at some situations (#778)
1 parent 3114bd5 commit a8b608d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/workbench/editorService.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export interface IEditorService extends Component<IEditor> {
5050
/**
5151
* Specify the Entry page of Workbench
5252
*/
53-
setEntry(component: React.ReactNode): void;
53+
setEntry(component: JSX.Element): void;
5454
/**
5555
* Judge the specific tabs whether opened in Editor view
5656
* @param tabId The tabId is required

0 commit comments

Comments
 (0)