|
@ -187,7 +187,7 @@ export default function Nav() { |
|
|
}); |
|
|
}); |
|
|
}, [showFeedback]); |
|
|
}, [showFeedback]); |
|
|
|
|
|
|
|
|
function selectTab(nextTab) { |
|
|
function selectTab(nextTab: 'learn' | 'apis' | 'home') { |
|
|
setTab(nextTab); |
|
|
setTab(nextTab); |
|
|
scrollParentRef.current!.scrollTop = 0; |
|
|
scrollParentRef.current!.scrollTop = 0; |
|
|
} |
|
|
} |
|
|