Skip to content

TypeError: nextDeps.join is not a function #15016

@rockfight

Description

@rockfight

I am getting this error while using hooks.
image

This is related code.

const market = useContext(MarketContext);
useEffect(() => {

  nav.items[1] = {
                 name: 'Market',
                url: '/market',
                icon: 'icon-speedometer',
                badge: {
                       variant: market == "Live" ? "primary" : "secondary",
                text: market,
           }
  };    

}, market)

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