@@ -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();
60− console.log('at root');