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 +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/providers/index.cjs +2 -0
- package/dist/providers/index.cjs.map +1 -1
- package/dist/providers/index.js +2 -0
- package/dist/providers/index.js.map +1 -1
- package/package.json +1 -1
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
|