@tinacms/app 1.2.28 → 1.2.29

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,5 +1,15 @@
1
1
  # @tinacms/app
2
2
 
3
+ ## 1.2.29
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [b6fbab887]
8
+ - Updated dependencies [4ae43fdde]
9
+ - Updated dependencies [aec44a7dc]
10
+ - @tinacms/mdx@1.3.20
11
+ - tinacms@1.5.22
12
+
3
13
  ## 1.2.28
4
14
 
5
15
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/app",
3
- "version": "1.2.28",
3
+ "version": "1.2.29",
4
4
  "main": "src/main.tsx",
5
5
  "license": "Apache-2.0",
6
6
  "devDependencies": {
@@ -14,7 +14,7 @@
14
14
  "@headlessui/react": "1.6.6",
15
15
  "@heroicons/react": "1.0.6",
16
16
  "@monaco-editor/react": "4.4.5",
17
- "@tinacms/mdx": "1.3.19",
17
+ "@tinacms/mdx": "1.3.20",
18
18
  "@xstate/react": "3.0.0",
19
19
  "final-form": "4.20.7",
20
20
  "graphiql": "3.0.0-alpha.1",
@@ -25,7 +25,7 @@
25
25
  "react-dom": "17.0.2",
26
26
  "react-router-dom": "6.3.0",
27
27
  "tailwindcss": "^3.2.7",
28
- "tinacms": "1.5.21",
28
+ "tinacms": "1.5.22",
29
29
  "typescript": "^4.6.4",
30
30
  "zod": "^3.14.3"
31
31
  }
@@ -271,14 +271,12 @@ export const useGraphQLReducer = (
271
271
  }
272
272
  })
273
273
  let value = source[fieldName] as unknown
274
- if (!value) {
275
- aliases.forEach((alias) => {
276
- const aliasValue = source[alias]
277
- if (aliasValue) {
278
- value = aliasValue
279
- }
280
- })
281
- }
274
+ aliases.forEach((alias) => {
275
+ const aliasValue = source[alias]
276
+ if (aliasValue) {
277
+ value = aliasValue
278
+ }
279
+ })
282
280
  if (fieldName === '_sys') {
283
281
  return source._internalSys
284
282
  }