Skip to content

Commit 33a6123

Browse files
author
Lan Le
committed
chore: update version info to 1.3.1
1 parent 6d03dad commit 33a6123

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/components/panel/info.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const SECData = _ref => {
116116
detector,
117117
secData
118118
} = _ref;
119-
if (_format.default.isSECLayout(layout) && secData !== undefined) {
119+
if (_format.default.isSECLayout(layout) && secData) {
120120
const {
121121
d,
122122
mn,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@complat/react-spectra-editor",
3-
"version": "1.2.2",
3+
"version": "1.3.1",
44
"description": "An editor to View and Edit Chemical Spectra data (NMR, IR and MS, CV, UIVIS, XRD).",
55
"repository": {
66
"type": "git",

src/components/panel/info.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const aucValue = (integration) => {
116116
const SECData = ({
117117
classes, layout, detector, secData,
118118
}) => {
119-
if (Format.isSECLayout(layout) && secData !== undefined) {
119+
if (Format.isSECLayout(layout) && secData) {
120120
const {
121121
d, mn, mp, mw,
122122
} = secData;

0 commit comments

Comments
 (0)