dirk-cfx-react 1.1.42 → 1.1.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -2535,6 +2535,8 @@ function DirkProvider({ children, overideResourceName, themeOverride }) {
2535
2535
  });
2536
2536
  }, [overideResourceName]);
2537
2537
  React3.useEffect(() => {
2538
+ fetchNui("NUI_READY").catch(() => {
2539
+ });
2538
2540
  fetchNui("GET_SETTINGS").then((data) => {
2539
2541
  useSettings.setState({
2540
2542
  ...data