Skip to content

Commit bdfb201

Browse files
committed
fix: typing
1 parent d628cd1 commit bdfb201

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/course-outline/outline-sidebar/info-sidebar/sharedSettings/VisibilitySection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const VisibilitySection = ({ itemId, isSubsection, onChange }: Props) =>
6161
<Form.Checkbox
6262
checked={localState?.hideAfterDue}
6363
className="mt-2"
64-
onChange={(e) => setLocalState((prev) => ({
64+
onChange={(e: React.ChangeEvent<HTMLInputElement>) => setLocalState((prev) => ({
6565
...prev,
6666
hideAfterDue: e.target.checked,
6767
isVisibleToStaffOnly: false,

0 commit comments

Comments
 (0)