Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Sep 20, 2021
1 parent 02f819b commit c13b669
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/react-router/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1052,8 +1052,6 @@ function compilePath(
source += "(?:\\b|$)";
}

// if (end) source += "$";

let matcher = new RegExp(source, caseSensitive ? undefined : "i");

return [matcher, keys];
Expand Down

0 comments on commit c13b669

Please sign in to comment.