on master help sign in
Remove printfs
cbb04ceFang
src/lib/useRouter.js−4
@@ -53,12 +53,8 @@ export default function useRouter({
53 if (size <= 1) {
53 if (size <= 1) {
54 // if we are at the root, pass this event to our parent
54 // if we are at the root, pass this event to our parent
55 if (oldPopState.current) {
55 if (oldPopState.current) {
56− console.log('attempting to pass to parent');
57 window.history.back();
56 window.history.back();
58 }
57 }
59−
60− console.log('at root');
61−
62 return;
58 return;
63 }
59 }
64
60