Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #4529 from Chiamaka/add-type-annotation
Browse files Browse the repository at this point in the history
Add missing username property in onValidationResult object
  • Loading branch information
brianlovin committed Jan 9, 2019
2 parents dddc29d + 3f1eec4 commit 05b8cd2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/usernameSearch/index.js
Expand Up @@ -15,7 +15,11 @@ type Props = {
username: string,
label: string,
size: string,
onValidationResult: ({ error: string, success: string }) => void,
onValidationResult: ({
error: string,
success: string,
username?: string,
}) => void,
onError: ?(err: Error) => void,
dataCy?: string,
};
Expand Down

0 comments on commit 05b8cd2

Please sign in to comment.