(to, _ref)
| 1770 | } |
| 1771 | |
| 1772 | function createLocationDescriptor(to, _ref) { |
| 1773 | var query = _ref.query; |
| 1774 | var hash = _ref.hash; |
| 1775 | var state = _ref.state; |
| 1776 | |
| 1777 | if (query || hash || state) { |
| 1778 | return { pathname: to, query: query, hash: hash, state: state }; |
| 1779 | } |
| 1780 | |
| 1781 | return to; |
| 1782 | } |
| 1783 | |
| 1784 | /** |
| 1785 | * A <Link> is used to create an <a> element that links to a route. |
no outgoing calls
no test coverage detected
searching dependent graphs…