Skip to content

Commit eb67049

Browse files
author
Ben Warzeski
authored
Merge pull request #148 from openedx/bw/xblock_title
fix: xblock title
2 parents 0793e96 + eb60584 commit eb67049

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/views/XBlockView/index.jsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import React, { useEffect } from 'react';
22

3-
import { usePrompts, useRubricConfig } from 'hooks/app';
3+
import {
4+
useORAConfigData,
5+
usePrompts,
6+
useRubricConfig,
7+
} from 'hooks/app';
48

59
import ProgressBar from 'components/ProgressBar';
610
import Prompt from 'components/Prompt';
@@ -15,6 +19,7 @@ import Actions from './Actions';
1519
import './index.scss';
1620

1721
export const XBlockView = () => {
22+
const { title } = useORAConfigData();
1823
const prompts = usePrompts();
1924
const rubricConfig = useRubricConfig();
2025

@@ -28,7 +33,7 @@ export const XBlockView = () => {
2833

2934
return (
3035
<div id="ora-xblock-view">
31-
<h3>Open Response Assessment</h3>
36+
<h3>{title}</h3>
3237
<ProgressBar />
3338
<StatusRow />
3439
<StatusAlert />

0 commit comments

Comments
 (0)