@servicetitan/culture
Advanced tools
Comparing version 27.0.0 to 27.1.0
@@ -8,3 +8,3 @@ import { jsx as _jsx } from "react/jsx-runtime"; | ||
const culture = value !== null && value !== void 0 ? value : store === null || store === void 0 ? void 0 : store.culture; | ||
return (_jsx(Provider, Object.assign({ singletons: culture ? [{ provide: CULTURE_TOKEN, useValue: culture }] : undefined }, { children: children }))); | ||
return (_jsx(Provider, { singletons: culture ? [{ provide: CULTURE_TOKEN, useValue: culture }] : undefined, children: children })); | ||
}; | ||
@@ -11,0 +11,0 @@ export const withCultureSingletons = (singletons) => [...(singletons !== null && singletons !== void 0 ? singletons : []), CultureApi, CultureStore]; |
@@ -8,3 +8,3 @@ import { jsx as _jsx } from "react/jsx-runtime"; | ||
const culture = value !== null && value !== void 0 ? value : store === null || store === void 0 ? void 0 : store.culture; | ||
return (_jsx(Provider, Object.assign({ singletons: culture ? [{ provide: CULTURE_TOKEN, useValue: culture }] : undefined }, { children: children }))); | ||
return (_jsx(Provider, { singletons: culture ? [{ provide: CULTURE_TOKEN, useValue: culture }] : undefined, children: children })); | ||
}; | ||
@@ -11,0 +11,0 @@ export const withCultureSingletons = (singletons) => [...(singletons !== null && singletons !== void 0 ? singletons : []), CultureApi, CultureStore]; |
{ | ||
"name": "@servicetitan/culture", | ||
"version": "27.0.0", | ||
"version": "27.1.0", | ||
"description": "", | ||
@@ -22,3 +22,3 @@ "homepage": "https://docs.st.dev/docs/frontend/culture", | ||
"devDependencies": { | ||
"@servicetitan/react-ioc": "^23.2.1", | ||
"@servicetitan/react-ioc": "^24.0.3", | ||
"@types/react": "~18.2.55", | ||
@@ -37,3 +37,3 @@ "react": "~18.2.0" | ||
}, | ||
"gitHead": "c3a087dfb1f9f41734d9aa15e8c688275dec17f0" | ||
"gitHead": "b17946150c847cd846a5b5f5bca4054340d64df5" | ||
} |
Sorry, the diff of this file is not supported yet
7312