diff --git a/components/buttons/GoogleCalendarButton.tsx b/components/buttons/GoogleCalendarButton.tsx
index 15f16dca65f7..9e2f2638be18 100644
--- a/components/buttons/GoogleCalendarButton.tsx
+++ b/components/buttons/GoogleCalendarButton.tsx
@@ -6,6 +6,7 @@ import type { IButtonDefaultProps } from '../../types/components/buttons/types';
import { useTranslation } from '../../utils/i18n';
import IconGoogleCalendar from '../icons/GoogleCalendar';
import Button from './Button';
+import details from '../../public/locales/en/common.json';
interface IGoogleCalendarButtonProps extends IButtonDefaultProps {}
@@ -18,7 +19,6 @@ interface IGoogleCalendarButtonProps extends IButtonDefaultProps {}
* @param {string} props.className - The class name to be applied to the button.
*/
export default function GoogleCalendarButton({
- text = 'googleCalendarBtn',
href,
target = '_blank',
iconPosition = ButtonIconPosition.LEFT,
@@ -28,7 +28,7 @@ export default function GoogleCalendarButton({
return (
}
href={href}
iconPosition={iconPosition}
@@ -38,3 +38,4 @@ export default function GoogleCalendarButton({
/>
);
}
+
diff --git a/components/buttons/ICSFileButton.tsx b/components/buttons/ICSFileButton.tsx
index 1f529cee3c10..69fb4a2cd8ec 100644
--- a/components/buttons/ICSFileButton.tsx
+++ b/components/buttons/ICSFileButton.tsx
@@ -6,6 +6,7 @@ import type { IButtonDefaultProps } from '../../types/components/buttons/types';
import { useTranslation } from '../../utils/i18n';
import IconCalendar from '../icons/Calendar';
import Button from './Button';
+import details from '../../public/locales/en/common.json';
interface IICSFButtonProps extends IButtonDefaultProps {}
@@ -18,7 +19,6 @@ interface IICSFButtonProps extends IButtonDefaultProps {}
* @param {string} props.className - The class name to be applied to the button.
*/
export default function ICSFButton({
- text = 'icsFileBtn',
href,
target = '_blank',
iconPosition = ButtonIconPosition.LEFT,
@@ -28,7 +28,7 @@ export default function ICSFButton({
return (
}
href={href}
iconPosition={iconPosition}
@@ -38,3 +38,4 @@ export default function ICSFButton({
/>
);
}
+