feat: Add plugin slots for progress page components (#1496)

This commit is contained in:
Kshitij Sobti
2025-01-16 23:26:07 +05:30
committed by GitHub
parent 826f1382dd
commit d5a6a59d07
39 changed files with 394 additions and 104 deletions

5
src/data/hooks.ts Normal file
View File

@@ -0,0 +1,5 @@
import { useSelector } from 'react-redux';
import { RootState } from '../store';
// eslint-disable-next-line import/prefer-default-export
export const useContextId = () => useSelector<RootState>(state => state.courseHome.courseId);