diff --git a/app/components/Button.js b/app/components/Button.js
index 43c1b9957..146c0beae 100644
--- a/app/components/Button.js
+++ b/app/components/Button.js
@@ -154,7 +154,6 @@ function Button({
);
}
-// $FlowFixMe - need to upgrade to get forwardRef
export default React.forwardRef((props, ref) => (
));
diff --git a/app/components/Editor/Editor.js b/app/components/Editor/Editor.js
index 9e3e80c68..dee1eddca 100644
--- a/app/components/Editor/Editor.js
+++ b/app/components/Editor/Editor.js
@@ -110,7 +110,6 @@ const EditorTooltip = ({ children, ...props }) => (
const EditorWithRouterAndTheme = withRouter(withTheme(Editor));
-// $FlowIssue - https://github.com/facebook/flow/issues/6103
export default React.forwardRef((props, ref) => (
));
diff --git a/app/components/NudeButton.js b/app/components/NudeButton.js
index 5461c923f..f5611ea8a 100644
--- a/app/components/NudeButton.js
+++ b/app/components/NudeButton.js
@@ -20,7 +20,6 @@ const Button = styled.button`
}
`;
-// $FlowFixMe - need to upgrade to get forwardRef
export default React.forwardRef((props, ref) => (
));
diff --git a/app/components/Sidebar/components/Version.js b/app/components/Sidebar/components/Version.js
index 48f41bd7a..b0a33b2ec 100644
--- a/app/components/Sidebar/components/Version.js
+++ b/app/components/Sidebar/components/Version.js
@@ -6,10 +6,8 @@ import SidebarLink from "./SidebarLink";
import { version } from "../../../../package.json";
export default function Version() {
- // $FlowFixMe
const [releasesBehind, setReleasesBehind] = React.useState(0);
- // $FlowFixMe
React.useEffect(() => {
async function loadReleases() {
let out = 0;
diff --git a/app/embeds/components/Frame.js b/app/embeds/components/Frame.js
index 1fa501448..d931931f0 100644
--- a/app/embeds/components/Frame.js
+++ b/app/embeds/components/Frame.js
@@ -79,7 +79,6 @@ const StyledIframe = styled(Iframe)`
border-radius: 3px;
`;
-// $FlowIssue - https://github.com/facebook/flow/issues/6103
export default React.forwardRef((props, ref) => (
));
diff --git a/app/scenes/Document/components/Contents.js b/app/scenes/Document/components/Contents.js
index 55df7e7ce..e415e7b76 100644
--- a/app/scenes/Document/components/Contents.js
+++ b/app/scenes/Document/components/Contents.js
@@ -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++) {
diff --git a/package.json b/package.json
index b4a1700ad..81f43e3e2 100644
--- a/package.json
+++ b/package.json
@@ -176,7 +176,7 @@
"eslint-plugin-prettier": "^2.4.0",
"eslint-plugin-react": "^7.12.4",
"fetch-test-server": "^1.1.0",
- "flow-bin": "^0.86.0",
+ "flow-bin": "^0.88.0",
"identity-obj-proxy": "^3.0.0",
"jest-cli": "^22.0.0",
"koa-webpack-dev-middleware": "^1.4.5",
diff --git a/yarn.lock b/yarn.lock
index 0f82fb84a..0bcbb1da3 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3959,10 +3959,10 @@ flatted@^2.0.0:
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138"
integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==
-flow-bin@^0.86.0:
- version "0.86.0"
- resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.86.0.tgz#153a28722b4dc13b7200c74b644dd4d9f4969a11"
- integrity sha512-ulRvFH3ewGIYwg+qPk/OJXoe3Nhqi0RyR0wqgK0b1NzUDEC6O99zU39MBTickXvlrr6iwRO6Wm4lVGeDmnzbew==
+flow-bin@^0.88.0:
+ version "0.88.0"
+ resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.88.0.tgz#e4c7bd93da2331f6ac1733fbe484b1b0c52eb548"
+ integrity sha512-SnUCuhHP0JZaXQ83w4iTthfTInAg8DIBZCo1xIqDhFmQ6XNEMYMwYhPoMQyELRrkbTpyCYmf4g93y0UQw0dibw==
flow-typed@^2.6.2:
version "2.6.2"