on master help sign in
Fix history usage
1bacc14Fang
src/views/Point.js+3−3
@@ -45,12 +45,12 @@ export default function Point() {
45
45
46 const showActions = Just.hasInstance(wallet);
46 const showActions = Just.hasInstance(wallet);
47
47
48− const goAdmin = useCallback(() => push(names.ADMIN), [history, names]);
48+ const goAdmin = useCallback(() => push(names.ADMIN), [push, names]);
49
49
50− const goInvite = useCallback(() => push(names.INVITE), [history, names]);
50+ const goInvite = useCallback(() => push(names.INVITE), [push, names]);
51
51
52 const goParties = useCallback(() => push(names.INVITES_MANAGE), [
52 const goParties = useCallback(() => push(names.INVITES_MANAGE), [
53− history,
53+ push,
54 names,
54 names,
55 ]);
55 ]);
56
56