diff --git a/src/components/CourseProfileStickyHeader/index.tsx b/src/components/CourseProfileStickyHeader/index.tsx
deleted file mode 100644
index 57915ccb0..000000000
--- a/src/components/CourseProfileStickyHeader/index.tsx
+++ /dev/null
@@ -1,22 +0,0 @@
-import { View, Text } from 'react-native';
-import ProgressBar from '../cards/ProgressBar';
-import styles from './styles';
-
-interface CourseProfileStickyHeaderProps {
- progress: number,
- title: string
-}
-
-const CourseProfileStickyHeader = ({ progress, title }: CourseProfileStickyHeaderProps) => (
-
- {title}
-
- {(progress * 100).toFixed(0)}%
-
-
-
-
-
-);
-
-export default CourseProfileStickyHeader;
diff --git a/src/components/CourseProfileStickyHeader/styles.ts b/src/components/CourseProfileStickyHeader/styles.ts
deleted file mode 100644
index 738501566..000000000
--- a/src/components/CourseProfileStickyHeader/styles.ts
+++ /dev/null
@@ -1,35 +0,0 @@
-import { StyleSheet } from 'react-native';
-import { WHITE, GREY } from '../../styles/colors';
-import { BORDER_WIDTH, MARGIN, PADDING, SCREEN_WIDTH } from '../../styles/metrics';
-import { FIRA_SANS_REGULAR, FIRA_SANS_BOLD } from '../../styles/fonts';
-
-const styles = StyleSheet.create({
- container: {
- flexDirection: 'row',
- backgroundColor: WHITE,
- paddingVertical: PADDING.LG,
- paddingHorizontal: PADDING.XL,
- alignItems: 'center',
- borderBottomWidth: 2 * BORDER_WIDTH,
- borderColor: GREY[200],
- },
- title: {
- ...FIRA_SANS_BOLD.MD,
- color: GREY[800],
- maxWidth: (2 * SCREEN_WIDTH) / 3,
- },
- progressBarContainer: {
- flex: 1,
- alignItems: 'flex-end',
- },
- progressPercentage: {
- ...FIRA_SANS_REGULAR.SM,
- color: GREY[600],
- marginVertical: MARGIN.XS,
- },
- progressBar: {
- width: 64,
- },
-});
-
-export default styles;
diff --git a/src/components/ELearningCell/index.tsx b/src/components/ELearningCell/index.tsx
index 9dc515bc0..ca6de1fc3 100644
--- a/src/components/ELearningCell/index.tsx
+++ b/src/components/ELearningCell/index.tsx
@@ -1,4 +1,4 @@
-import { useEffect, useState } from 'react';
+import React, { useEffect, useState } from 'react';
import { View, TouchableOpacity } from 'react-native';
import { ELearningStepType } from '../../types/StepTypes';
import { CourseModeType } from '../../types/CourseTypes';
@@ -18,7 +18,7 @@ type ELearningCellProps = {
endedActivity?: string,
}
-const ELearningCell = ({ step, index, profileId, mode, endedActivity = '' }: ELearningCellProps) => {
+const ELearningCell = React.memo(({ step, index, profileId, mode, endedActivity = '' }: ELearningCellProps) => {
const [isOpen, setIsOpen] = useState(false);
const onPressChevron = () => { setIsOpen(prevState => !prevState); };
const [iconButtonStyle, setIconButtonStyle] = useState