Skip to content

useBattery fail on Chrome Version 142.0.7444.60 (Official Build) (arm64) #361

@kroniak

Description

@kroniak

Chrome Version 142.0.7444.60 (Official Build) (arm64)

useBattery hook from "@uidotdev/usehooks": "^2.4.1" fail with

b.addEventListener is not a function

Call Stack
1

useBattery.useEffect
node_modules/@uidotdev/usehooks/index.js (86:9)

Same error exist on demo page https://usehooks.com/usebattery

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