Skip to content

Commit

Permalink
ReactTraining is on master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham Pandey committed Jul 29, 2021
1 parent d005da6 commit d019adc
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ describe('ProfilingCache', () => {

const About = () => <div>About</div>;

// Mimics https://github.com/ReactTraining/react-router/blob/main/packages/react-router/modules/Router.js
// Mimics https://github.com/ReactTraining/react-router/blob/master/packages/react-router/modules/Router.js
function Router({children}) {
const [path, setPath] = React.useState('/');
return (
Expand All @@ -682,7 +682,7 @@ describe('ProfilingCache', () => {
);
}

// Mimics https://github.com/ReactTraining/react-router/blob/main/packages/react-router/modules/Switch.js
// Mimics https://github.com/ReactTraining/react-router/blob/master/packages/react-router/modules/Switch.js
function Switch({children}) {
return (
<RouterContext.Consumer>
Expand All @@ -699,14 +699,14 @@ describe('ProfilingCache', () => {
);
}

// Mimics https://github.com/ReactTraining/react-router/blob/main/packages/react-router/modules/Route.js
// Mimics https://github.com/ReactTraining/react-router/blob/master/packages/react-router/modules/Route.js
function Route({children, path}) {
return null;
}

const linkRef = React.createRef();

// Mimics https://github.com/ReactTraining/react-router/blob/main/packages/react-router-dom/modules/Link.js
// Mimics https://github.com/ReactTraining/react-router/blob/master/packages/react-router-dom/modules/Link.js
function Link({children, path}) {
return (
<RouterContext.Consumer>
Expand Down

0 comments on commit d019adc

Please sign in to comment.