Skip to content

Commit

Permalink
refactor(client): move chapter{Problem,Lesson}Actions to proper dir
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar committed Jan 20, 2024
1 parent f061d35 commit 0a942bd
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { selectCourseChapters } from '../../../../modules/courseChaptersSelector
import { ChapterNavigation } from '../../../resources/ChapterNavigation/ChapterNavigation';

import * as breadcrumbsActions from '../../../../../../../../../modules/breadcrumbs/breadcrumbsActions';
import * as chapterLessonActions from '../../modules/chapterLessonActions';
import * as chapterLessonActions from '../modules/chapterLessonActions';

import './ChapterLessonPage.scss';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { chapterLessonAPI } from '../../../../../../../../modules/api/jerahmeel/chapterLesson';
import { selectToken } from '../../../../../../../../modules/session/sessionSelectors';
import { chapterLessonAPI } from '../../../../../../../../../modules/api/jerahmeel/chapterLesson';
import { selectToken } from '../../../../../../../../../modules/session/sessionSelectors';

export function getLessonStatement(chapterJid, lessonAlias, language) {
return async (dispatch, getState) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import nock from 'nock';
import configureMockStore from 'redux-mock-store';
import thunk from 'redux-thunk';

import { nockJerahmeel } from '../../../../../../../../utils/nock';
import { nockJerahmeel } from '../../../../../../../../../utils/nock';

import * as chapterLessonActions from './chapterLessonActions';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
} from '../modules/chapterProblemSelectors';

import * as breadcrumbsActions from '../../../../../../../../../modules/breadcrumbs/breadcrumbsActions';
import * as chapterProblemActions from '../../modules/chapterProblemActions';
import * as chapterProblemActions from '../modules/chapterProblemActions';

import './ChapterProblemPage.scss';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { selectCourse } from '../../../../../../../../../modules/courseSelectors
import { selectCourseChapter } from '../../../../../../../modules/courseChapterSelectors';

import * as breadcrumbsActions from '../../../../../../../../../../../../modules/breadcrumbs/breadcrumbsActions';
import * as chapterProblemActions from '../../../../../modules/chapterProblemActions';
import * as chapterProblemActions from '../../../../modules/chapterProblemActions';
import * as chapterProblemSubmissionActions from '../../modules/chapterProblemSubmissionActions';

export class ChapterProblemSubmissionPage extends Component {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { chapterProblemAPI } from '../../../../../../../../modules/api/jerahmeel/chapterProblem';
import { selectToken } from '../../../../../../../../modules/session/sessionSelectors';
import { RefreshChapterProblem } from '../single/modules/chapterProblemReducer';
import { chapterProblemAPI } from '../../../../../../../../../modules/api/jerahmeel/chapterProblem';
import { selectToken } from '../../../../../../../../../modules/session/sessionSelectors';
import { RefreshChapterProblem } from './chapterProblemReducer';

export function getProblemWorksheet(chapterJid, problemAlias, language) {
return async (dispatch, getState) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import nock from 'nock';
import configureMockStore from 'redux-mock-store';
import thunk from 'redux-thunk';

import { nockJerahmeel } from '../../../../../../../../utils/nock';
import { nockJerahmeel } from '../../../../../../../../../utils/nock';

import * as chapterProblemActions from './chapterProblemActions';

Expand Down

0 comments on commit 0a942bd

Please sign in to comment.