From 7c6e4e5364041d67e5ee456d93ac6a80c2453248 Mon Sep 17 00:00:00 2001 From: jenniw Date: Tue, 2 Jan 2024 15:01:19 -0500 Subject: [PATCH] response == queryresponse? --- frontend/public/src/containers/pages/login/LoginEmailPage.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/public/src/containers/pages/login/LoginEmailPage.js b/frontend/public/src/containers/pages/login/LoginEmailPage.js index 054f4dcf64..e4112204c1 100644 --- a/frontend/public/src/containers/pages/login/LoginEmailPage.js +++ b/frontend/public/src/containers/pages/login/LoginEmailPage.js @@ -19,15 +19,14 @@ import EmailForm from "../../../components/forms/EmailForm" import type { RouterHistory, Location } from "react-router" -// $FlowFixMe: redux-query response type does not exist -import type { Response } from "redux-query/src/types" +import type { QueryResponse } from "redux-query/types.js.flow" import type { AuthResponse, EmailFormValues } from "../../../flow/authTypes" import { Link } from "react-router-dom" type Props = { location: Location, history: RouterHistory, - loginEmail: (email: string, next: ?string) => Promise> + loginEmail: (email: string, next: ?string) => Promise> } export class LoginEmailPage extends React.Component {