Skip to content

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

@venkatnaveen7

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions