Skip to content

Commit

Permalink
style: fix ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
mutu committed Jul 30, 2024
1 parent 9d58755 commit 4ab582f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/gi-sdk-app/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export interface Project {
id: string;
name: string;
projectConfig: {};
config: {};
themes: {};
theme?: string;
};
Expand Down Expand Up @@ -53,8 +54,8 @@ const Studio: React.FunctionComponent<StudioProps> = props => {
service,
loadingText = '正在加载图应用...',
loadingComponent,
GISDKExtraParams,
componentExtraParams,
GISDKExtraParams = {},
componentExtraParams = {},
} = props;
const [state, setState] = React.useState({
isReady: false,
Expand Down Expand Up @@ -139,6 +140,7 @@ const Studio: React.FunctionComponent<StudioProps> = props => {
<ThemeComponent style={{ visibility: 'hidden', position: 'absolute' }} />
{/** @ts-ignore */}
<GISDK
// @ts-ignore
config={config}
assets={assets}
services={services}
Expand Down

0 comments on commit 4ab582f

Please sign in to comment.