chore: Update flow just far enough to get hooks libdefs (#1348)
This commit is contained in:
@ -13,11 +13,9 @@ type Props = {
|
||||
};
|
||||
|
||||
export default function Contents({ headings }: Props) {
|
||||
// $FlowFixMe
|
||||
const [activeSlug, setActiveSlug] = React.useState();
|
||||
const position = useWindowScrollPosition({ throttle: 100 });
|
||||
|
||||
// $FlowFixMe
|
||||
React.useEffect(
|
||||
() => {
|
||||
for (let key = 0; key < headings.length; key++) {
|
||||
|
Reference in New Issue
Block a user