Skip to content

Commit

Permalink
Update docs/data/migration/migration-pickers-v7/migration-pickers-v7.md
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Tyla <llukas.tyla@gmail.com>
Signed-off-by: Flavien DELANGLE <flaviendelangle@gmail.com>
  • Loading branch information
flaviendelangle and LukasTy authored Nov 6, 2024
1 parent a6c9a7e commit 9c75522
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ The following variables were renamed to have a coherent `Picker` / `Pickers` pre
- import { usePickersContext } from '@mui/x-date-pickers';
- import { usePickersContext } from '@mui/x-date-pickers-pro';

+ import { usePickersContext } from '@mui/x-date-pickers/hooks';
+ import { usePickersContext } from '@mui/x-date-pickers';
+ import { usePickersContext } from '@mui/x-date-pickers-pro';
+ import { usePickerContext } from '@mui/x-date-pickers/hooks';
+ import { usePickerContext } from '@mui/x-date-pickers';
+ import { usePickerContext } from '@mui/x-date-pickers-pro';

- const pickersContext = usePickersContext();
+ const pickerContext = usePickerContext();
Expand Down

0 comments on commit 9c75522

Please sign in to comment.