Skip to content

Console error on settings page in teams #937

@zwass

Description

@zwass

Fleet version (Head to the "My account" page in the Fleet UI or run fleetctl version): teams
Operating system (e.g. macOS 11.2.3): Any
Web browser (e.g. Chrome 88.0.4324): Any


🧑‍💻  Expected behavior

Navigate to https://localhost:8080/settings/organization. No warnings appear in the console.

💥  Actual behavior

Following error in the console:

Warning: Failed prop type: There should be an equal number of 'Tab' and 'TabPanel' in `Tabs`. Received 3 'Tab' and 0 'TabPanel'.
    in Tabs (created by SettingsWrapper)
    in SettingsWrapper (created by RouterContext)
    in AuthenticatedAdminRoutes (created by ConnectFunction)
    in ConnectFunction (created by RouterContext)
    in div (created by CoreLayout)
    in div (created by CoreLayout)
    in CoreLayout (created by ConnectFunction)
    in ConnectFunction (created by RouterContext)
    in div (created by AuthenticatedRoutes)
    in AuthenticatedRoutes (created by ConnectFunction)
    in ConnectFunction (created by RouterContext)
    in div (created by App)
    in App (created by ConnectFunction)
    in ConnectFunction (created by RouterContext)
    in RouterContext (created by Router)
    in Router
    in Provider

More info

@martavis assigning this to you as another likely easy fix that gets you working in the codebase. Please lmk if you have any questions!

Metadata

Metadata

Assignees

No one assigned

    Labels

    ~frontendFrontend-related issue.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions