project-error / npwd

NPWD is a FiveM phone resource written entirely in TypeScript and React.
https://projecterror.dev
Other
336 stars 276 forks source link

Bug: Error when change icons set in Settings App #851

Closed jcabala14 closed 1 year ago

jcabala14 commented 1 year ago

Development Issue

No

Phone Version

1.5.3

Issue Description

When you change the icon set from the settings app to NPWD Icons, the system throws the following error when refreshing the phone:

NPWD has encountered an error it was unable to recover from. You will need to reload the NUI window. The error is shown below for developer reference.

Element type is invalid. Received a promise that resolves to: undefined. Lazy element type must resolve to a class or function.

image

After that, you can't use the phone.

Issue Reproduction

  1. Go to settings app
  2. Select Icons Set
  3. Select NPWD Icons
  4. See error

Evidence

No response

itschip commented 1 year ago

@jcabala14 Have you added your own iconset, or is this the default set?

jcabala14 commented 1 year ago

Hi @itschip, is the default set, I haven't made any changes

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.