Skip to content

TypeError in react package #1532

@jiteshgolecha

Description

@jiteshgolecha

Hi, I am receiving the below error in my react app using vite and shadcn(jsx).

@oakjs_react.js?v=5f7fb2f8:2397 Uncaught TypeError: Cannot read properties of undefined (reading 'A')
at s10 (@oakjs_react.js?v=5f7fb2f8:2397:19)
at u4 (@oakjs_react.js?v=5f7fb2f8:2435:24)
at rr.jsx (@oakjs_react.js?v=5f7fb2f8:2469:14)
at bt2 (@oakjs_react.js?v=5f7fb2f8:4551:14)
at renderWithHooks (chunk-R6S4VRB5.js?v=5f7fb2f8:11548:26)
at mountIndeterminateComponent (chunk-R6S4VRB5.js?v=5f7fb2f8:14926:21)
at beginWork (chunk-R6S4VRB5.js?v=5f7fb2f8:15914:22)
at HTMLUnknownElement.callCallback2 (chunk-R6S4VRB5.js?v=5f7fb2f8:3674:22)
at Object.invokeGuardedCallbackDev (chunk-R6S4VRB5.js?v=5f7fb2f8:3699:24)
at invokeGuardedCallback (chunk-R6S4VRB5.js?v=5f7fb2f8:3733:39)

I installed using the below commands
yarn add @oakjs/react @oakjs/theme

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