dirk-cfx-react 1.0.54 → 1.0.55

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
@@ -2301,6 +2301,17 @@ var useSettings = create((set) => ({
2301
2301
  itemImgPath: "https://assets.dirkcfx.com/items/",
2302
2302
  customTheme: {}
2303
2303
  }));
2304
+ registerInitialFetch("GET_SETTINGS", void 0, {
2305
+ game: "fivem",
2306
+ primaryColor: "dirk",
2307
+ primaryShade: 9,
2308
+ itemImgPath: "https://assets.dirkcfx.com/items/",
2309
+ customTheme: {}
2310
+ }).then((data) => {
2311
+ useSettings.setState({
2312
+ ...data
2313
+ });
2314
+ });
2304
2315
  function DirkProvider(props) {
2305
2316
  const primaryColor = useSettings((data) => data.primaryColor);
2306
2317
  const primaryShade = useSettings((data) => data.primaryShade);