Content-Length: 268917 | pFad | http://github.com/lowcoder-org/lowcoder-create-component-plugin/issues/3

42 "export const enObj: I18nObjects | undefined = undefined;" within src/i18n/locales/enObj.tsx will crash component · Issue #3 · lowcoder-org/lowcoder-create-component-plugin · GitHub
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









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: http://github.com/lowcoder-org/lowcoder-create-component-plugin/issues/3

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy