Skip to content

Commit

Permalink
Update packages/perseus/src/widgets/graded-group/graded-group.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Jeremy Wiebe <[email protected]>
  • Loading branch information
benchristel and jeremywiebe authored Nov 25, 2024
1 parent 7a167ee commit d6697a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/perseus/src/widgets/graded-group/graded-group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ type State = {

// Assert that the PerseusGradedGroupWidgetOptions parsed from JSON can be
// passed as props to this component. This ensures that the
// PerseusMatrixWidgetOptions stays in sync with the prop types. The
// PerseusGradedGroupWidgetOptions stays in sync with the prop types. The
// PropsFor<Component> type takes defaultProps into account, which is important
// because PerseusMatrixWidgetOptions has optional fields which receive defaults
// because PerseusGradedGroupWidgetOptions has optional fields which receive defaults
// via defaultProps.
0 as any as WidgetProps<PerseusGradedGroupWidgetOptions, PerseusGradedGroupRubric> satisfies PropsFor<typeof GradedGroup>;

Expand Down

0 comments on commit d6697a2

Please sign in to comment.