Skip to content

Commit

Permalink
fix: repair type error of propsData
Browse files Browse the repository at this point in the history
  • Loading branch information
lweijian committed Sep 17, 2022
1 parent 50c61c5 commit 12a0687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/ssr-entry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export async function render(
return {
appHtml,
islandToPathMap,
propsData: islandProps,
propsData: islandProps as unknown[],
// Only spa need the data on window
pageData: enableSpa ? pageData : null
};
Expand Down

0 comments on commit 12a0687

Please sign in to comment.