on master help sign in
Fix history usage
commit1bacc1442d771ebcd38cc57197b96b84f3e6ad06 authorFang <Fang-@users.noreply.github.com> dateFri 12 Jul 2019, 18:57 (7 years ago) parent7fda500
1 file changed+3−3
src/views/Point.js+3−3
src/views/Point.js+3−3
@@ -45,12 +45,12 @@ export default function Point() {
4545
4646 const showActions = Just.hasInstance(wallet);
4747
48− const goAdmin = useCallback(() => push(names.ADMIN), [history, names]);
48+ const goAdmin = useCallback(() => push(names.ADMIN), [push, names]);
4949
50− const goInvite = useCallback(() => push(names.INVITE), [history, names]);
50+ const goInvite = useCallback(() => push(names.INVITE), [push, names]);
5151
5252 const goParties = useCallback(() => push(names.INVITES_MANAGE), [
53− history,
53+ push,
5454 names,
5555 ]);
5656