diff --git a/webapp/channels/src/components/integrations/integration_option.tsx b/webapp/channels/src/components/integrations/integration_option.tsx index 7ec52e6a27..65df787846 100644 --- a/webapp/channels/src/components/integrations/integration_option.tsx +++ b/webapp/channels/src/components/integrations/integration_option.tsx @@ -11,27 +11,25 @@ type Props = { link: string; } -export default class IntegrationOption extends React.PureComponent { - render() { - const {image, title, description, link} = this.props; +const IntegrationOption = ({image, title, description, link}: Props) => { + return ( + + {'integration +
+ {title} +
+
+ {description} +
+ + ); +}; - return ( - - {'integration -
- {title} -
-
- {description} -
- - ); - } -} +export default React.memo(IntegrationOption);