Pass lesson from server into store

This commit is contained in:
Rotimi Best
2021-07-13 16:27:02 +00:00
parent 4a821eef98
commit c9908d6af5
17 changed files with 332 additions and 429 deletions
+1 -4
View File
@@ -1,7 +1,4 @@
const ROUTES = {
COURSES: 'courses',
LESSONS: 'lessons',
};
import { ROUTES } from "./constants";
export function getNavItemRoute(courseId, routeId) {
const path = `/${ROUTES.COURSES}/${courseId}`;