diff --git a/ui/redux/actions/claims.js b/ui/redux/actions/claims.js index 9f8eb5462..03e26b0cf 100644 --- a/ui/redux/actions/claims.js +++ b/ui/redux/actions/claims.js @@ -1024,10 +1024,12 @@ export function doCheckPublishNameAvailability(name: string) { useAutoPagination: true, } ) - ).then(() => { + ).then((result) => { dispatch({ type: ACTIONS.CHECK_PUBLISH_NAME_COMPLETED, }); + + return Object.keys(result).length === 0; }); }; }