Skip to content

Cannot read properties of null (reading 'useState') BlockUi (index.js:57:1) #1296

Description

@venkatnaveen7

Cannot read properties of null (reading 'useState')
at useState (react.development.js:1622:1)
at BlockUi (index.js:57:1)
Hi all Im migrating my app to react 18 and getting the above error when we replace the react-block-ui with "@availity/block-ui": "1.0.0",

Nothing changed in the code apart from import BlockUI from '@availity/block-ui'
Any quick fix/solution will be helpful

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions