dirk-cfx-react 1.1.13 → 1.1.14
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/hooks/index.cjs +1 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.js +1 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2227,6 +2227,7 @@ function createScriptSettings(defaultValue) {
|
|
|
2227
2227
|
});
|
|
2228
2228
|
};
|
|
2229
2229
|
const updateScriptSettings = async (newSettings) => {
|
|
2230
|
+
console.log("Updating script settings:", JSON.stringify(newSettings, null, 2));
|
|
2230
2231
|
store.setState((prev) => ({ ...prev, ...newSettings }));
|
|
2231
2232
|
return await fetchNui("UPDATE_SCRIPT_SETTINGS", newSettings);
|
|
2232
2233
|
};
|