diff --git a/app/src/organisms/UpdateAppModal/index.tsx b/app/src/organisms/UpdateAppModal/index.tsx index d3a434154d08..c053cc01a4a5 100644 --- a/app/src/organisms/UpdateAppModal/index.tsx +++ b/app/src/organisms/UpdateAppModal/index.tsx @@ -12,8 +12,8 @@ import { Flex, JUSTIFY_SPACE_AROUND, JUSTIFY_SPACE_BETWEEN, - NewPrimaryBtn, - NewSecondaryBtn, + PrimaryButton, + SecondaryButton, SPACING, StyledText, } from '@opentrons/components' @@ -62,18 +62,7 @@ const PlaceholderError = ({ export const RELEASE_NOTES_URL_BASE = 'https://github.com/Opentrons/opentrons/releases/tag/v' const UPDATE_ERROR = 'Update Error' -const FOOTER_BUTTON_STYLE = css` - text-transform: lowercase; - padding-left: ${SPACING.spacing16}; - padding-right: ${SPACING.spacing16}; - border-radius: ${BORDERS.borderRadius8}; - margin-top: ${SPACING.spacing16}; - margin-bottom: ${SPACING.spacing16}; - &:first-letter { - text-transform: uppercase; - } -` const UpdateAppBanner = styled(Banner)` border: none; ` @@ -122,7 +111,13 @@ export function UpdateAppModal(props: UpdateAppModalProps): JSX.Element { removeActiveAppUpdateToast() const appUpdateFooter = ( - + - {t('remind_later')} - - + dispatch(downloadShellUpdate())} marginRight={SPACING.spacing12} - css={FOOTER_BUTTON_STYLE} > {t('update_app_now')} - + )