chore(examples): use new main branch
This commit is contained in:
@@ -85,7 +85,7 @@ const navLinks = routes.filter((route) => route.label);
|
|||||||
|
|
||||||
const SourceDisplay = withRouter(({ location }) => {
|
const SourceDisplay = withRouter(({ location }) => {
|
||||||
const route = routes.find((route) => route.path === location.pathname);
|
const route = routes.find((route) => route.path === location.pathname);
|
||||||
const sourceLink = `https://github.com/wbkd/react-flow/tree/master/example/src/${route.label}/index.js`;
|
const sourceLink = `https://github.com/wbkd/react-flow/tree/main/example/src/${route.label}/index.js`;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<a className="sourcedisplay" href={sourceLink}>
|
<a className="sourcedisplay" href={sourceLink}>
|
||||||
|
|||||||
Reference in New Issue
Block a user