Skip to content

Commit

Permalink
Restore support of lib instnace (#1281)
Browse files Browse the repository at this point in the history
* Fix ts error and formik example

* Fix eslint error

* Fix missing support of libInstance properly
  • Loading branch information
dmtrKovalenko authored Aug 24, 2019
1 parent 07f4038 commit 8313239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/MuiPickersUtilsProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const MuiPickersUtilsProvider: React.FC<MuiPickersUtilsProviderProps> = (
locale,
libInstance,
}) => {
const utils = React.useMemo(() => new Utils({ locale, moment: libInstance }), [
const utils = React.useMemo(() => new Utils({ locale, instance: libInstance }), [
Utils,
libInstance,
locale,
Expand Down

0 comments on commit 8313239

Please sign in to comment.