Skip to content

Commit a9444a8

Browse files
committed
fix(reactant-share): fix client router issue
1 parent 5f3edfb commit a9444a8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/reactant-share/src/modules/router.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,6 @@ class ReactantRouter extends BaseReactantRouter {
254254
timestamp: number,
255255
clientId?: string
256256
) {
257-
// Only update the latest routes
258-
if (this.lastRoutedTimestamp >= timestamp) return;
259-
this.lastRoutedTimestamp = timestamp;
260257
this._setRouters(name, router);
261258
if (name === this.portDetector.name) {
262259
if (this.portDetector.isWorkerMode) {

0 commit comments

Comments
 (0)