dirk-cfx-react 1.1.1 → 1.1.2

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
@@ -2309,6 +2309,7 @@ registerInitialFetch("GET_SETTINGS", void 0, {
2309
2309
  itemImgPath: "https://assets.dirkcfx.com/items/",
2310
2310
  customTheme: {}
2311
2311
  }).then((data) => {
2312
+ console.log("Fetched initial settings:");
2312
2313
  useSettings.setState({
2313
2314
  ...data
2314
2315
  });
@@ -2332,8 +2333,6 @@ function DirkProvider(props) {
2332
2333
  ...props.themeOverride
2333
2334
  // Props theme will override/extend the entire theme
2334
2335
  }), [primaryColor, primaryShade, customTheme, props.themeOverride]);
2335
- console.log("created merged theme:");
2336
- console.log(mergedTheme);
2337
2336
  useEffect(() => {
2338
2337
  document.fonts.ready.then(() => {
2339
2338
  document.body.style.fontFamily = game === "rdr3" ? '"Red Dead", sans-serif' : game === "fivem" ? '"Akrobat Regular", sans-serif' : "sans-serif";
@@ -2343,6 +2342,7 @@ function DirkProvider(props) {
2343
2342
  fetchNui("NUI_READY");
2344
2343
  }, []);
2345
2344
  useAutoFetcher();
2345
+ console.log("DirkProvider rendered with game:", game);
2346
2346
  return /* @__PURE__ */ jsx(MantineProvider, { theme: mergedTheme, defaultColorScheme: "dark", children: /* @__PURE__ */ jsx(Wrapper, { children: props.children }) });
2347
2347
  }
2348
2348
  function Wrapper({ children }) {