Skip to content

Commit 9f5c508

Browse files
committed
Update mention of picker state vs draft state
1 parent 9cd5206 commit 9f5c508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/material-ui-lab/src/internal/pickers/hooks/usePickerState.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export function usePickerState<TInput, TDateValue>(
135135
acceptDate(newDate, shouldCloseOnSelect);
136136
}
137137

138-
// if selectionState === "shallow" do nothing (we already update picker state)
138+
// if selectionState === "shallow" do nothing (we already update the draft state)
139139
},
140140
}),
141141
[acceptDate, disableCloseOnSelect, isMobileKeyboardViewOpen, draftState.draft],

0 commit comments

Comments
 (0)