File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
import React , { useEffect } from 'react' ;
2
2
3
- import { usePrompts , useRubricConfig } from 'hooks/app' ;
3
+ import {
4
+ useORAConfigData ,
5
+ usePrompts ,
6
+ useRubricConfig ,
7
+ } from 'hooks/app' ;
4
8
5
9
import ProgressBar from 'components/ProgressBar' ;
6
10
import Prompt from 'components/Prompt' ;
@@ -15,6 +19,7 @@ import Actions from './Actions';
15
19
import './index.scss' ;
16
20
17
21
export const XBlockView = ( ) => {
22
+ const { title } = useORAConfigData ( ) ;
18
23
const prompts = usePrompts ( ) ;
19
24
const rubricConfig = useRubricConfig ( ) ;
20
25
@@ -28,7 +33,7 @@ export const XBlockView = () => {
28
33
29
34
return (
30
35
< div id = "ora-xblock-view" >
31
- < h3 > Open Response Assessment </ h3 >
36
+ < h3 > { title } </ h3 >
32
37
< ProgressBar />
33
38
< StatusRow />
34
39
< StatusAlert />
You can’t perform that action at this time.
0 commit comments