dirk-cfx-react 1.1.0 → 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,7 +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(mergedTheme);
2344
2344
  react.useEffect(() => {
2345
2345
  document.fonts.ready.then(() => {
2346
2346
  document.body.style.fontFamily = game === "rdr3" ? '"Red Dead", sans-serif' : game === "fivem" ? '"Akrobat Regular", sans-serif' : "sans-serif";
@@ -2350,6 +2350,7 @@ function DirkProvider(props) {
2350
2350
  fetchNui("NUI_READY");
2351
2351
  }, []);
2352
2352
  useAutoFetcher();
2353
+ console.log("DirkProvider rendered with game:", game);
2353
2354
  return /* @__PURE__ */ jsxRuntime.jsx(core.MantineProvider, { theme: mergedTheme, defaultColorScheme: "dark", children: /* @__PURE__ */ jsxRuntime.jsx(Wrapper, { children: props.children }) });
2354
2355
  }
2355
2356
  function Wrapper({ children }) {