fix: 조사 관련 문제 수정

This commit is contained in:
Hide_D committed 2022-08-28 15:40:52 +09:00
1 parent b28ca864f9
commit 8a987cc55e
5 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -500,7 +500,7 @@ async function submitPolicy() {
function calcPolicyValue(title: keyof NationPolicy): number {
if (!(title in nationPolicy.value)) {
throw `${title}이 NationPolicy key가 아님`;
throw `${title} 값이 NationPolicy key가 아님`;
}
const policyValue = nationPolicy.value[title];
if (!isNumber(policyValue)) {