Skip to content

Commit

Permalink
templates must not be empty string to be valid
Browse files Browse the repository at this point in the history
  • Loading branch information
lache-melvin committed Nov 28, 2023
1 parent 05fefe6 commit 1ff3432
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export const ScheduledNotificationEditPage = () => {
};

const isValidTemplate = (template: string) => {
if (!template) return false;
try {
validateTemplate(template);
return true;
Expand Down

0 comments on commit 1ff3432

Please sign in to comment.