Skip to content

Commit 675eb4b

Browse files
Add decorate to globals
1 parent 11ba67e commit 675eb4b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

app/globals.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import _ from 'lodash'
22

3+
import { decorate } from 'nhsuk-decorated-components'
4+
35
import { healthQuestions } from './datasets/health-questions.js'
46
import {
57
InstructionOutcome,
@@ -23,6 +25,8 @@ import {
2325
export default () => {
2426
const globals = {}
2527

28+
globals.decorate = decorate
29+
2630
/**
2731
* Get boolean form field items
2832
*

0 commit comments

Comments
 (0)