diff --git a/src/components/views/typography/Caption.tsx b/src/components/views/typography/Caption.tsx
index 89fd551ed5..69e7714b22 100644
--- a/src/components/views/typography/Caption.tsx
+++ b/src/components/views/typography/Caption.tsx
@@ -19,14 +19,13 @@ import React, { HTMLAttributes } from "react";
interface Props extends Omit
, "className"> {
children: React.ReactNode;
- className?: string;
isError?: boolean;
}
-export const Caption: React.FC = ({ children, className, isError, ...rest }) => {
+export const Caption: React.FC = ({ children, isError, ...rest }) => {
return (
{
// higher priority number will be shown on top of lower priority
priority: number;
title?: string;
- /**
- * Icon class.
- *
- * @deprecated Use iconElement instead.
- */
icon?: string;
- /** Icon element. Displayed left of the title. */
- iconElement?: ReactElement;
component: C;
className?: string;
bodyClassName?: string;
diff --git a/src/toasts/IncomingLegacyCallToast.tsx b/src/toasts/IncomingLegacyCallToast.tsx
index 147a35a1d0..26ea393332 100644
--- a/src/toasts/IncomingLegacyCallToast.tsx
+++ b/src/toasts/IncomingLegacyCallToast.tsx
@@ -119,7 +119,7 @@ export default class IncomingLegacyCallToast extends React.Component
{isVoice ? _t("Voice call") : _t("Video call")}
-