From af312c9beace73eee7d5f2ef93dbe7f0876d981d Mon Sep 17 00:00:00 2001 From: Matt Mazzola Date: Thu, 12 Dec 2019 16:48:22 -0800 Subject: [PATCH] fix: memory setter bug (#1412) --- src/components/modals/MemorySetter.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/modals/MemorySetter.tsx b/src/components/modals/MemorySetter.tsx index d2518073..1507021b 100644 --- a/src/components/modals/MemorySetter.tsx +++ b/src/components/modals/MemorySetter.tsx @@ -123,7 +123,7 @@ class MemorySetter extends React.Component { } onChange(index: number, text: string | undefined, entity: CLM.EntityBase) { - if (!text) { + if (typeof text !== 'string') { return }