kotlin-wrappers icon indicating copy to clipboard operation
kotlin-wrappers copied to clipboard

unstable_useTimeout not found

Open lucgirardin opened this issue 1 year ago • 4 comments

I updated from 1.0.0-pre.693 to pre.700 and now get the following error:

export 'unstable_useTimeout' (imported as 'useTimeout') was not found in '@mui/utils' (possible exports: HTMLElementType, chainPropTypes, clamp, deepmerge, elementAcceptingRef, elementTypeAcceptingRef, exactProp, formatMuiErrorMessage, getDisplayName, getValidReactChildren, globalStateClasses, integerPropType, internal_resolveProps, isGlobalState, isPlainObject, ponyfillGlobal, refType, unstable_ClassNameGenerator, unstable_capitalize, unstable_composeClasses, unstable_createChainedFunction, unstable_debounce, unstable_deprecatedPropType, unstable_detectScrollType, unstable_generateUtilityClass, unstable_generateUtilityClasses, unstable_getNormalizedScrollLeft, unstable_getScrollbarSize, unstable_isGlobalState, unstable_isMuiElement, unstable_ownerDocument, unstable_ownerWindow, unstable_requirePropFactory, unstable_setRef, unstable_unsupportedProp, unstable_useControlled, unstable_useEnhancedEffect, unstable_useEventCallback, unstable_useForkRef, unstable_useId, unstable_useIsFocusVisible, usePreviousProps, visuallyHidden)

No need for immediate action, just wanted to bring this to your attention!

lucgirardin avatar Feb 23 '24 08:02 lucgirardin

Thank you for the report

aerialist7 avatar Feb 23 '24 10:02 aerialist7

@lucgirardin I don't see unstable_useTimeout or useTimeout in Kotlin declarations. It looks like MUI (JS library) issue, which will be solved with MUI upgrade.

turansky avatar Feb 23 '24 13:02 turansky

@lucgirardin, checked - no problems after updating in my case https://github.com/karakum-team/kotlin-mui-showcase/actions/runs/8036303862/job/21949847708

aerialist7 avatar Feb 25 '24 07:02 aerialist7

@lucgirardin Could you please check if problem reproduced with pre.706?

turansky avatar Feb 29 '24 23:02 turansky

@turansky Tried today with pre.708: everything working (very) well :-) Many thanks Victor!

lucgirardin avatar Mar 03 '24 13:03 lucgirardin