diff --git a/apps/builder/src/page/App/Module/CanvasPanel/Components/BuildAppOnEmpty/BuildByTemplate/index.tsx b/apps/builder/src/page/App/Module/CanvasPanel/Components/BuildAppOnEmpty/BuildByTemplate/index.tsx index 22f10eb0b5..4413f54140 100644 --- a/apps/builder/src/page/App/Module/CanvasPanel/Components/BuildAppOnEmpty/BuildByTemplate/index.tsx +++ b/apps/builder/src/page/App/Module/CanvasPanel/Components/BuildAppOnEmpty/BuildByTemplate/index.tsx @@ -123,7 +123,10 @@ const BuildByTemplate: FC = ({ bd="none" w="200px" teamIdentifier={marketplace?.contributorTeam?.teamIdentifier} - handleForkApp={(appId: string, teamIdentifier?: string) => { + handleForkApp={async ( + appId: string, + teamIdentifier?: string, + ) => { track?.( ILLA_MIXPANEL_EVENT_TYPE.CLICK, { @@ -152,7 +155,7 @@ const BuildByTemplate: FC = ({ {showCreateFromTemplateModal && ( { + handleForkApp={async (appId: string, teamIdentifier?: string) => { track?.( ILLA_MIXPANEL_EVENT_TYPE.CLICK, { diff --git a/apps/builder/src/redux/currentApp/appInfo/appInfoState.ts b/apps/builder/src/redux/currentApp/appInfo/appInfoState.ts index 79a3b06fa4..d69d755816 100644 --- a/apps/builder/src/redux/currentApp/appInfo/appInfoState.ts +++ b/apps/builder/src/redux/currentApp/appInfo/appInfoState.ts @@ -1,4 +1,4 @@ -import { AppInfoShape } from "@illa-public/public-types" +import { APP_TYPE, AppInfoShape } from "@illa-public/public-types" export const DashboardAppInitialState: AppInfoShape = { updatedAt: "", @@ -11,6 +11,7 @@ export const DashboardAppInitialState: AppInfoShape = { waterMark: false, publishedToMarketplace: false, publishWithAIAgent: false, + appType: APP_TYPE.PC, }, appActivity: { modifier: "", diff --git a/packages/illa-public-component b/packages/illa-public-component index 73553d2e36..73dff9e845 160000 --- a/packages/illa-public-component +++ b/packages/illa-public-component @@ -1 +1 @@ -Subproject commit 73553d2e36c0bd6f3d77f11142a42ee21e2131c2 +Subproject commit 73dff9e845b41edfb99e513102109af13e1694e5