Skip to content

fix: Console Errors for not set FluentDesignTheme in local storage #2952

@przsmolana

Description

@przsmolana

🐛 Bug Report

After upgrading package from 4.10.1 version to 4.10.3 version, we started observing console errors. Please see the screenshot:
Image

💻 Repro or Code Sample

That is the only usage in our app at the moment:
<FluentDesignTheme StorageName="fluent-theme" CustomColor="@_theme.Surface.Background.Accent" Mode="DesignThemeModes.Light" />

🔦 Context

In general, it doesn't affect how the application works. Nevertheless console errors are annoying.
Found this issue: #2885 that as I understand says theme is not set in local storage. Question is if we should see errors?
Please, let us know if there is something we should do on our side to not see this console error

🌍 Your Environment

We have observed in MacOS and Windows devices and browser wise the same situation, the same happening on Safari or Chrome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNew issue. Needs to be looked at

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions