Skip to content

Commit

Permalink
Update mention of picker state vs draft state
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Jan 11, 2021
1 parent 9cd5206 commit 9f5c508
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export function usePickerState<TInput, TDateValue>(
acceptDate(newDate, shouldCloseOnSelect);
}

// if selectionState === "shallow" do nothing (we already update picker state)
// if selectionState === "shallow" do nothing (we already update the draft state)
},
}),
[acceptDate, disableCloseOnSelect, isMobileKeyboardViewOpen, draftState.draft],
Expand Down

0 comments on commit 9f5c508

Please sign in to comment.