summaryrefslogtreecommitdiff
path: root/src/components/Config.js
diff options
context:
space:
mode:
authorHaishan <[email protected]>2019-08-17 18:35:40 +0800
committerHaishan <[email protected]>2019-08-29 22:04:57 +0800
commitd97017d74c6b82beeca4f32f62700037136c5b8c (patch)
tree17b0beb8a0b4b4b3047bff4da0c30e1523b3a848 /src/components/Config.js
parentc6fee7bbd4967facbdc087f8e0e26f6863535b1d (diff)
build: upgrade eslint
Diffstat (limited to 'src/components/Config.js')
-rw-r--r--src/components/Config.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/Config.js b/src/components/Config.js
index b47d220..a15e858 100644
--- a/src/components/Config.js
+++ b/src/components/Config.js
@@ -143,6 +143,8 @@ function Config({ configs }) {
updateConfigs({ [name]: num });
break;
}
+ default:
+ throw new Error(`unknown input name ${name}`);
}
}