Skip to content

Commit

Permalink
fix route
Browse files Browse the repository at this point in the history
  • Loading branch information
codehz committed Aug 19, 2024
1 parent 2389dc0 commit 96111e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export class StaticRouters {
<PreloadModule key={idx} module={name} />
))}
<PreloadModule
module={this.#routes.get(serverSide.pathname)!.split("?")[0]}
module={this.#routes.get(serverSide.name)!.split("?")[0]}
/>
<module.default {...result?.props} />
</MetaContext.Provider>
Expand Down

0 comments on commit 96111e1

Please sign in to comment.