fix(client): selector return, invalid prop val (#49447)

* fix(client): correctly return type from selector

* fix(client): remove incorrect prop [button-spacer]
This commit is contained in:
Shaun Hamilton 2023-02-20 19:34:34 +00:00 committed by GitHub
parent 69c40b31c4
commit e8b010d7e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -103,7 +103,6 @@ export const StrictSolutionForm = ({
<FormFields formFields={formFields} options={options} />
<BlockSaveButton
disabled={(pristine && !enableSubmit) || (error as boolean)}
bgSize='none'
>
{buttonText}
</BlockSaveButton>

View File

@ -101,6 +101,10 @@ export const currentBlockIdsSelector = state => {
challengeType
);
if (!currentBlockIds) {
return [];
}
return currentBlockIds;
};