Skip to content

Commit

Permalink
MAT-7431 remove unnecessary trim
Browse files Browse the repository at this point in the history
  • Loading branch information
adongare committed Jul 8, 2024
1 parent 43e6dc0 commit 43541a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/editCqlLibrary/EditCqlLibrary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ const EditCqlLibrary = () => {
resetForm();
let primaryMessage = "CQL updated successfully";
const secondaryMessages = [];
if (updatedContent.cql?.trim()) {
if (updatedContent.cql) {
if (isUsingEmpty(updatedContent.cql)) {
secondaryMessages.push(
"Missing a using statement. Please add in a valid model and version."
Expand Down

0 comments on commit 43541a9

Please sign in to comment.