Skip to content

Commit

Permalink
fix Heading deprecation warnings in canvas-media
Browse files Browse the repository at this point in the history
InstUI is changing the Heading package from ui-elements to
ui-header, which removes the deprecation warnings we are seeing
in the console

Test Plan:
* as a student in a2, opening the Record/Upload button on a media
  attempt should not have a deprecation warning

flag=assignments_2_student
refs WOKE-97

Change-Id: Id70eda74bebe9bbea0d351f74fe2094d48ab99bc
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/216218
Reviewed-by: Steven Burnett <[email protected]>
QA-Review: Steven Burnett <[email protected]>
Tested-by: Jenkins
Product-Review: Ryan Norton <[email protected]>
  • Loading branch information
ryan-norton committed Nov 6, 2019
1 parent 52b700f commit e3f46be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/canvas-media/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"@instructure/ui-elements": "6",
"@instructure/ui-forms": "6",
"@instructure/ui-icons": "6",
"@instructure/ui-heading": "6",
"@instructure/ui-layout": "6",
"@instructure/ui-media-player": "^5",
"@instructure/ui-overlays": "6",
Expand Down
2 changes: 1 addition & 1 deletion packages/canvas-media/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {arrayOf, bool, func, shape, string} from 'prop-types'
import React, {Suspense} from 'react'

import {Button, CloseButton} from '@instructure/ui-buttons'
import {Heading} from '@instructure/ui-elements'
import {Heading} from '@instructure/ui-heading'
import {Modal} from '@instructure/ui-overlays'
import {Tabs} from '@instructure/ui-tabs'

Expand Down

0 comments on commit e3f46be

Please sign in to comment.