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.cjs CHANGED
@@ -2535,6 +2535,8 @@ function DirkProvider({ children, overideResourceName, themeOverride }) {
2535
2535
  });
2536
2536
  }, [overideResourceName]);
2537
2537
  React3.useEffect(() => {
2538
+ console.log("[DirkProvider] mounted \u2014 firing NUI_READY");
2539
+ fetchNui("NUI_READY").then(() => console.log("[DirkProvider] NUI_READY ack received")).catch((err) => console.error("[DirkProvider] NUI_READY failed:", err));
2538
2540
  fetchNui("GET_SETTINGS").then((data) => {
2539
2541
  useSettings.setState({
2540
2542
  ...data