provide correct currentUserId prop type

flag=none

test plan:
  - specs pass

qa risk: low

Change-Id: Ib00f9908f256a46df4271f10d033d72178ac3994
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/274377
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Omar Soto-Fortuño <omar.soto@instructure.com>
QA-Review: Omar Soto-Fortuño <omar.soto@instructure.com>
Product-Review: Omar Soto-Fortuño <omar.soto@instructure.com>
This commit is contained in:
Davis Hyer 2021-09-24 09:34:25 -06:00
parent bd974054fa
commit 2906186fce
2 changed files with 1 additions and 2 deletions

View File

@ -62,7 +62,6 @@ const ignoredErrors = [
/Invalid prop `children` of type `array` supplied to `Transition`/,
/Invalid prop `children` supplied to `(Option|View)`/,
/Invalid prop `conversation._id` of type `number` supplied to `ComposeModalManager`/,
/Invalid prop `currentUserId` of type `number` supplied to `AddStudentModal`/,
/Invalid prop `editorOptions.plugins` of type `string` supplied to `(ForwardRef|RCEWrapper)`/, // https://instructure.atlassian.net/browse/MAT-453
/Invalid prop `editorOptions.toolbar\[0\]` of type `string` supplied to `(ForwardRef|RCEWrapper)`/, // https://instructure.atlassian.net/browse/MAT-453
/Invalid prop `firstAnnouncement.postedDate` of type `String` supplied to `K5Announcement`/,

View File

@ -25,7 +25,7 @@ const LINK_STUDENT_URL = '/api/v1/users/1/observees'
const defaultProps = {
open: true,
currentUserId: 1,
currentUserId: '1',
handleClose: () => {},
onStudentPaired: () => {}
}