update ManageOutcomesFooter to provide valid background

flag=none

test plan:
  - specs pass

qa risk: low

Change-Id: Iddf3b7be0ae7b04a8e93b47786df46c125aea34d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/274128
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Omar Soto-Fortuño <omar.soto@instructure.com>
QA-Review: Omar Soto-Fortuño <omar.soto@instructure.com>
Product-Review: Omar Soto-Fortuño <omar.soto@instructure.com>
This commit is contained in:
Davis Hyer 2021-09-22 09:19:38 -06:00
parent 18743c3ad9
commit b7981ea7ab
2 changed files with 1 additions and 2 deletions

View File

@ -59,7 +59,6 @@ const ignoredErrors = [
/Function components cannot be given refs/,
/Functions are not valid as a React child/,
/invalid messageType: (notSupported|undefined)/,
/Invalid prop `background` of value `` supplied to `View`, expected one of/,
/Invalid prop `children` of type `array` supplied to `Transition`/,
/Invalid prop `children` supplied to `(Option|View)`/,
/Invalid prop `conversation._id` of type `number` supplied to `ComposeModalManager`/,

View File

@ -63,7 +63,7 @@ const ManageOutcomesFooter = ({
<View
as="div"
padding={isMobileView ? 'small' : '0'}
background={isMobileView ? 'secondary' : ''}
background={isMobileView ? 'secondary' : undefined}
>
<Flex
justifyItems="space-between"