Skip to content

Commit

Permalink
feat(pci-common): remove unecessary slot attributes
Browse files Browse the repository at this point in the history
ref: TAPC-2378
Signed-off-by: Frédéric Vilcot <[email protected]>
  • Loading branch information
fredericvilcot committed Dec 13, 2024
1 parent 8f5f04a commit 5f9275d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,13 @@ export function PciModal({

<OdsButton
label={cancelText || t('common_cancel')}
slot="actions"
color={ODS_BUTTON_COLOR.primary}
variant={ODS_BUTTON_VARIANT.ghost}
onClick={onCancel}
data-testid="pciModal-button_cancel"
/>
<OdsButton
label={submitText || t('common_confirm')}
slot="actions"
color={ODS_BUTTON_COLOR.primary}
onClick={onConfirm}
isDisabled={isDisabled}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function DeletionModal({
data-testid="delete-formField"
error={errorMessage}
>
<OdsText slot="label" preset="span" className="text-[14px]">
<OdsText preset="span" className="text-[14px]">
{confirmationLabel}
</OdsText>
<OdsInput
Expand Down

0 comments on commit 5f9275d

Please sign in to comment.