Skip to content

"export const enObj: I18nObjects | undefined = undefined;" within src/i18n/locales/enObj.tsx will crash component #3

Open
@sjhoeksma

Description

@sjhoeksma

In the example code of a plugin the src/i18n/locales/enObj.tsx is filled with an object. Because I did not required the object i made it undefined but this will throw an exception which crashes the plugin boot.

The code which wil crash the plugin
export const enObj: I18nObjects | undefined = undefined;

Code as work arround

export const enObj: I18nObjects = {
  defaultData: [
  ],
};

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

🆕 New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy