diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ace8308..5e8055a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [2.10.1](https://github.com/streamich/libreact/compare/v2.10.0...v2.10.1) (2018-12-30) + + +### Bug Fixes + +* 🐛 fix and data type ([cd51a81](https://github.com/streamich/libreact/commit/cd51a81)) + # [2.10.0](https://github.com/streamich/libreact/compare/v2.9.3...v2.10.0) (2018-12-25) diff --git a/package.json b/package.json index 39e03064..27e1fba2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "libreact", - "version": "2.10.0", + "version": "2.10.1", "description": "React standard library", "main": "lib/index.js", "repository": { diff --git a/src/route/Match.ts b/src/route/Match.ts index 9a7ed30e..1abaa44d 100644 --- a/src/route/Match.ts +++ b/src/route/Match.ts @@ -9,7 +9,7 @@ export interface IRouteData { fullRoute: string; route: string; parent: IRouteData; - match: TRouteMatchResult; + matches: TRouteMatchResult; } export interface IMatchProps extends IUniversalInterfaceProps { @@ -36,7 +36,7 @@ const Match: React.SFC = (props) => { const {fullRoute, route, parent} = context; const matches = createMatcher(match, exact)(route); - const data = { + const data: IRouteData = { fullRoute, route, parent,