From ac5d0422b275ce421007cc365c25d2e27b72337b Mon Sep 17 00:00:00 2001 From: Xander Marjoram Date: Thu, 25 Jul 2024 16:20:26 +0100 Subject: [PATCH] More changes from self-review --- packages/components/pie-cookie-banner/src/index.ts | 5 ++--- packages/components/pie-modal/src/defs.ts | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/components/pie-cookie-banner/src/index.ts b/packages/components/pie-cookie-banner/src/index.ts index 996d52c826..53488d581f 100644 --- a/packages/components/pie-cookie-banner/src/index.ts +++ b/packages/components/pie-cookie-banner/src/index.ts @@ -229,7 +229,6 @@ export class PieCookieBanner extends LitElement implements CookieBannerProps { } render () { - const leadingActionText = this._localiseText('preferencesManagement.cta.save.label'); return html` ${this.renderModalContent()} diff --git a/packages/components/pie-modal/src/defs.ts b/packages/components/pie-modal/src/defs.ts index 25b1e8fa27..7e13122305 100644 --- a/packages/components/pie-modal/src/defs.ts +++ b/packages/components/pie-modal/src/defs.ts @@ -146,7 +146,7 @@ export const ON_MODAL_SUPPORTING_ACTION_CLICK = 'pie-modal-supporting-action-cli export type ModalActionType = 'leading' | 'supporting'; -export type DefaultProps = ComponentDefaultProps>; +export type DefaultProps = ComponentDefaultProps>; export const defaultProps: DefaultProps = { hasBackButton: false,