Skip to content

Commit 96111e1

Browse files
committed
fix route
1 parent 2389dc0 commit 96111e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export class StaticRouters {
133133
<PreloadModule key={idx} module={name} />
134134
))}
135135
<PreloadModule
136-
module={this.#routes.get(serverSide.pathname)!.split("?")[0]}
136+
module={this.#routes.get(serverSide.name)!.split("?")[0]}
137137
/>
138138
<module.default {...result?.props} />
139139
</MetaContext.Provider>

0 commit comments

Comments
 (0)