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.cjs CHANGED
@@ -2317,6 +2317,7 @@ registerInitialFetch("GET_SETTINGS", void 0, {
2317
2317
  itemImgPath: "https://assets.dirkcfx.com/items/",
2318
2318
  customTheme: {}
2319
2319
  }).then((data) => {
2320
+ console.log("Fetched initial settings:");
2320
2321
  useSettings.setState({
2321
2322
  ...data
2322
2323
  });
@@ -2340,8 +2341,6 @@ function DirkProvider(props) {
2340
2341
  ...props.themeOverride
2341
2342
  // Props theme will override/extend the entire theme
2342
2343
  }), [primaryColor, primaryShade, customTheme, props.themeOverride]);
2343
- console.log("created merged theme:");
2344
- console.log(mergedTheme);
2345
2344
  react.useEffect(() => {
2346
2345
  document.fonts.ready.then(() => {
2347
2346
  document.body.style.fontFamily = game === "rdr3" ? '"Red Dead", sans-serif' : game === "fivem" ? '"Akrobat Regular", sans-serif' : "sans-serif";
@@ -2351,6 +2350,7 @@ function DirkProvider(props) {
2351
2350
  fetchNui("NUI_READY");
2352
2351
  }, []);
2353
2352
  useAutoFetcher();
2353
+ console.log("DirkProvider rendered with game:", game);
2354
2354
  return /* @__PURE__ */ jsxRuntime.jsx(core.MantineProvider, { theme: mergedTheme, defaultColorScheme: "dark", children: /* @__PURE__ */ jsxRuntime.jsx(Wrapper, { children: props.children }) });
2355
2355
  }
2356
2356
  function Wrapper({ children }) {