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 21:34:34 +02:00
committed by GitHub
parent 69c40b31c4
commit e8b010d7e2
2 changed files with 4 additions and 1 deletions
@@ -103,7 +103,6 @@ export const StrictSolutionForm = ({
<FormFields formFields={formFields} options={options} />
<BlockSaveButton
disabled={(pristine && !enableSubmit) || (error as boolean)}
bgSize='none'
>
{buttonText}
</BlockSaveButton>
@@ -101,6 +101,10 @@ export const currentBlockIdsSelector = state => {
challengeType
);
if (!currentBlockIds) {
return [];
}
return currentBlockIds;
};