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

Add missing username property in onValidationResult object #4529

Merged
merged 2 commits into from Jan 9, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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