provide correct disabled prop type

flag=none

test plan:
  - specs pass

qa risk: low

Change-Id: Ib99124d9d392a472fe605d4935ed6ce97536ba97
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/274045
Reviewed-by: Weston Dransfield <wdransfield@instructure.com>
QA-Review: Weston Dransfield <wdransfield@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Product-Review: Davis Hyer <dhyer@instructure.com>
This commit is contained in:
Davis Hyer 2021-09-21 14:06:34 -06:00
parent 282ed0d790
commit a77ada4722
2 changed files with 1 additions and 2 deletions

View File

@ -67,7 +67,6 @@ const ignoredErrors = [
/Invalid prop `courseID` of type `number` supplied to `StudentLastAttended`/,
/Invalid prop `currentFolder` of type `Object` supplied to `FilePreview`/,
/Invalid prop `currentUserId` of type `number` supplied to `AddStudentModal`/,
/Invalid prop `disabled` of type `object` supplied to `(Checkbox|ToggleFacade)`/,
/Invalid prop `editorOptions.plugins` of type `string` supplied to `(ForwardRef|RCEWrapper)`/,
/Invalid prop `editorOptions.toolbar\[0\]` of type `string` supplied to `(ForwardRef|RCEWrapper)`/,
/Invalid prop `firstAnnouncement.postedDate` of type `String` supplied to `K5Announcement`/,

View File

@ -24,7 +24,7 @@ import useFetchApi from '@canvas/use-fetch-api-hook'
function useSettings(courseId) {
const [group, setGroup] = useState({})
const [enabled, setEnabled] = useState(false)
const [loading, setLoading] = useState({})
const [loading, setLoading] = useState(false)
const [error, setError] = useState()
const groupEndpoint = `/api/v1/courses/${courseId}/microsoft_sync/group`