gatsby-matrix-theme 52.0.57 → 52.0.59

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/CHANGELOG.md CHANGED
@@ -1,3 +1,25 @@
1
+ ## [52.0.59](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.58...v52.0.59) (2025-01-15)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * initil state of result ([64828f1](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/64828f134a3fc110561409c67be2364bd56469e0))
7
+ * more handle cases ([b8467c4](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/b8467c448ff2225ae04196b7c355fcf00f52a62c))
8
+ * test lottery ([9aaec37](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/9aaec374f1bd526647da572878e9d03cdc1a852a))
9
+ * test lottery ([1c048e6](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/1c048e63690efa9792484f23de63e93845cbb1b6))
10
+ * testign results lotto cricket ([a4134f2](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/a4134f24b16e42d18bb9638ba6ffec517d98eb9b))
11
+ * update core theme ([6a8dc9f](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/6a8dc9f1ee753d4f72c51219feefc7f9126f49fa))
12
+
13
+
14
+ * Merge branch 'testing-fixtures' into 'master' ([8eefb50](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/8eefb5028768010bddaf7f8d3e9971e257361575))
15
+
16
+ ## [52.0.58](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.57...v52.0.58) (2025-01-07)
17
+
18
+
19
+ ### Config
20
+
21
+ * update theme ([f551f7c](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/f551f7c57c7aa3756303c872cb3ab895205d8a97))
22
+
1
23
  ## [52.0.57](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.56...v52.0.57) (2025-01-07)
2
24
 
3
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "52.0.57",
3
+ "version": "52.0.59",
4
4
  "main": "index.js",
5
5
  "description": "Matrix Theme NPM Package",
6
6
  "author": "",
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "@react-icons/all-files": "^4.1.0",
27
27
  "gatsby": "^5.11.0",
28
- "gatsby-core-theme": "41.1.18",
28
+ "gatsby-core-theme": "41.1.21",
29
29
  "gatsby-plugin-sharp": "^5.11.0",
30
30
  "gatsby-transformer-sharp": "^5.11.0",
31
31
  "gatsby-plugin-sitemap": "^6.13.1",
@@ -16,11 +16,14 @@ import Table from '../table';
16
16
  import styles from './results.module.scss';
17
17
 
18
18
  const Results = ({ module, serverData }) => {
19
+
19
20
  if (!serverData) {return;}
20
21
 
22
+
21
23
  const [tabData, setTabData] = useState(null);
22
24
  const { name: moduleName } = module;
23
25
 
26
+
24
27
  const onTabChange = async (tabId) => {
25
28
  const response = await getResultsById(serverData?.data[moduleName][tabId.split('_')[1]]._id);
26
29
  setTabData(response);
@@ -70,6 +70,8 @@ export const getLottoUKdata = async (historical = false, latest = true, type = n
70
70
  };
71
71
 
72
72
  export const getCalendarData = async (type, month, year) => {
73
+ console.log(`${process.env.LOTTERY_API_URL}calendar/${type}?month=${month}&year=${year}`);
74
+
73
75
  const res = await fetch(
74
76
  `${process.env.LOTTERY_API_URL}calendar/${type}?month=${month}&year=${year}`
75
77
  ).catch(() => null);