Skip to content
This repository was archived by the owner on Apr 30, 2020. It is now read-only.

Commit 7ddbe43

Browse files
author
lepon01
committed
Stop looking for matches after something matches
1 parent ed1a5da commit 7ddbe43

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/middleware/renderer.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ export default (req, res, next) => {
5050

5151
promises.push(store.dispatch(serverFetch.function(payload)));
5252
}
53+
// Stop looking for matches
54+
break;
5355
}
5456
}
5557

0 commit comments

Comments
 (0)