Skip to content

Commit 88ea1df

Browse files
Add index.ts for ClassMastery namespace
1 parent 553a704 commit 88ea1df

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

src/Components/Content/Content.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import SingleStudentOverview from '../SingleStudentOverview/SingleStudentOvervie
88
import SingleStudentMasteryOverview from '../SingleStudentMasteryOverview/SingleStudentMasteryOverview';
99
import CourseHome from '../CourseHome/CourseHome';
1010
import TaskView from '../../Screens/TaskView/TaskView';
11-
import ClassMastery from '../../Screens/ClassMastery/ClassMastery';
11+
import { ClassMastery } from '../../Screens/ClassMastery';
1212
import './Content.css';
1313

1414
export default function Content() {

src/Screens/ClassMastery/ClassMastery.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { useState } from 'react';
22
import styled from 'styled-components';
33
import { color } from '../../Components/constants.json';
44

5-
import StudentMasteryRow, { StudentMasteryHeader } from './StudentMasteryRow/StudentMasteryRow';
5+
import StudentMasteryRow, { StudentMasteryHeader } from './StudentMasteryRow';
66

77
const Page = styled.div`
88
margin: 33px 90px;

src/Screens/ClassMastery/StudentMasteryRow/StudentMasteryRow.tsx renamed to src/Screens/ClassMastery/StudentMasteryRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useState } from 'react';
22
import styled from 'styled-components';
3-
import { color } from '../../../Components/constants.json';
3+
import { color } from '../../Components/constants.json';
44

55
type MasteryBarProps = { percentage: number };
66

src/Screens/ClassMastery/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as ClassMastery } from './ClassMastery';

0 commit comments

Comments
 (0)