Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
fix: memory setter bug (#1412)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmazzola committed Dec 13, 2019
1 parent 89f23fe commit af312c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/modals/MemorySetter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class MemorySetter extends React.Component<Props> {
}

onChange(index: number, text: string | undefined, entity: CLM.EntityBase) {
if (!text) {
if (typeof text !== 'string') {
return
}

Expand Down

0 comments on commit af312c9

Please sign in to comment.