ronds-metadata 1.1.72 → 1.1.73
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/es/comps/FileView/index.js +10 -0
- package/package.json +1 -1
@@ -134,12 +134,22 @@ var FileView = function FileView(props) {
|
|
134
134
|
React.useEffect(function () {
|
135
135
|
if (path && firstLoadRef.current) {
|
136
136
|
getFileData();
|
137
|
+
return function () {
|
138
|
+
ref.current = null;
|
139
|
+
};
|
137
140
|
}
|
141
|
+
|
142
|
+
return function () {};
|
138
143
|
}, [getFileData, path]);
|
139
144
|
React.useEffect(function () {
|
140
145
|
if (data && firstLoadRef.current) {
|
141
146
|
processDataToExcel(data);
|
147
|
+
return function () {
|
148
|
+
ref.current = null;
|
149
|
+
};
|
142
150
|
}
|
151
|
+
|
152
|
+
return function () {};
|
143
153
|
}, [getFileData, data]);
|
144
154
|
|
145
155
|
if (!value) {
|