diff --git a/docs/data/migration/migration-pickers-v7/migration-pickers-v7.md b/docs/data/migration/migration-pickers-v7/migration-pickers-v7.md index 0ddc8b73f8eeb..5ab0f1392e684 100644 --- a/docs/data/migration/migration-pickers-v7/migration-pickers-v7.md +++ b/docs/data/migration/migration-pickers-v7/migration-pickers-v7.md @@ -326,7 +326,7 @@ The following variables were renamed to have a coherent `Picker` / `Pickers` pre + import { usePickerContext } from '@mui/x-date-pickers'; + import { usePickerContext } from '@mui/x-date-pickers-pro'; - - const pickersContext = usePickerContext(); + - const pickersContext = usePickersContext(); + const pickerContext = usePickerContext(); ```