@datawheel/bespoke 0.3.1 → 0.3.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
@@ -6785,7 +6785,7 @@ function Block({ blockId, active = true, asComparison = false }) {
6785
6785
  asComparison && comparison.active ? comparison?.variables.attributes : void 0
6786
6786
  );
6787
6787
  const blockContent = getBlockContent(block, locale);
6788
- const formatterFunctions = useFormatterFunctionsForLocale();
6788
+ const formatterFunctions = useFormatterFunctionsForLocale(locale);
6789
6789
  const blockContext = {
6790
6790
  variables,
6791
6791
  query,
package/dist/server.js CHANGED
@@ -5805,7 +5805,7 @@ function BespokeRendererStaticProps(options) {
5805
5805
  ]);
5806
5806
  const state = store.getState();
5807
5807
  const formatterList = selectFormatterList(state);
5808
- const formatters = funcifyFormattersByLocale(formatterList, localeDefault9);
5808
+ const formatters = funcifyFormattersByLocale(formatterList, locale);
5809
5809
  const sectionList = selectSectionList(state);
5810
5810
  const blockRecords = selectBlockRecords(state);
5811
5811
  const publicBlockRecords = { ...blockRecords };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datawheel/bespoke",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Content management system for creating automated data reports",
5
5
  "exports": {
6
6
  ".": {