dirk-cfx-react 1.1.42 → 1.1.44

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.js CHANGED
@@ -2526,6 +2526,8 @@ function DirkProvider({ children, overideResourceName, themeOverride }) {
2526
2526
  });
2527
2527
  }, [overideResourceName]);
2528
2528
  useEffect(() => {
2529
+ console.log("[DirkProvider] mounted \u2014 firing NUI_READY");
2530
+ fetchNui("NUI_READY").then(() => console.log("[DirkProvider] NUI_READY ack received")).catch((err) => console.error("[DirkProvider] NUI_READY failed:", err));
2529
2531
  fetchNui("GET_SETTINGS").then((data) => {
2530
2532
  useSettings.setState({
2531
2533
  ...data