Skip to content

Commit 062b0b0

Browse files
authored
Update Statics.hx
It's not worth the trouble trying to figure out ``useLocation`` and ``useHistory``; I would instead recommend just creating a custom bind in JS
1 parent ed0b7cb commit 062b0b0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/react/router/Statics.hx

-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,4 @@ extern class Statics {
1111
static public var hashHistory:HashHistory;
1212
static public var browserHistory:BrowserHistory;
1313
static public var withRouter:Dynamic->Dynamic;
14-
15-
static public function useLocation<Q>():Location<Q>; // Avaliable for versions 4.0.0 and above
16-
static public function useHistory():HashHistory; // Avaliable for versions 4.0.0 and above
1714
}

0 commit comments

Comments
 (0)