trepur_components 0.2.64 → 0.2.65

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.
@@ -106,10 +106,22 @@ const TextAndTitle = _ref => {
106
106
 
107
107
  const handleButtonSave = () => {
108
108
  const arr = [];
109
- arr.push(componentData.title);
110
- arr.push(componentData.textLineOne);
111
- arr.push(componentData.textLineTwo);
112
- arr.push(componentData.textLineThree);
109
+ arr.push({
110
+ key: 'title',
111
+ value: componentData.title.text
112
+ });
113
+ arr.push({
114
+ key: 'textLineOne',
115
+ value: componentData.textLineOne.text
116
+ });
117
+ arr.push({
118
+ key: 'textLineTwo',
119
+ value: componentData.textLineTwo.text
120
+ });
121
+ arr.push({
122
+ key: 'textLineThree',
123
+ value: componentData.textLineThree.text
124
+ });
113
125
  toggleEditState();
114
126
  onSave(arr, id);
115
127
  setIsHovering(false);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "trepur_components",
3
3
  "description": "component lib",
4
4
  "author": "trepur_ttenneb",
5
- "version": "0.2.64",
5
+ "version": "0.2.65",
6
6
  "private": false,
7
7
  "keywords": [
8
8
  "react",