Skip to content

Commit

Permalink
response == queryresponse?
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniw committed Jan 2, 2024
1 parent 8d5f6c3 commit 7c6e4e5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frontend/public/src/containers/pages/login/LoginEmailPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<Response<AuthResponse>>
loginEmail: (email: string, next: ?string) => Promise<QueryResponse<AuthResponse>>
}

export class LoginEmailPage extends React.Component<Props> {
Expand Down

0 comments on commit 7c6e4e5

Please sign in to comment.