tsk-2: Blank screen bug fix #16

Merged
phoenix merged 2 commits from tsk-2 into main 2026-07-04 16:56:35 -04:00
Showing only changes of commit 33872ef8c8 - Show all commits
@@ -28,7 +28,15 @@ const useSendMessageWizard = () => {
case 'select':
return state.selectedContacts.length > 0;
case 'message':
return state.message.trim().length > 0;
if (state.message.trim().length > 0) {
if (state.createdMessage != null) {
return true;
} else {
return false;
}
} else {
return false;
}
case 'schedule':
console.log('Checking to see if schedule can go to the next step');
if (state.scheduledTime == null) {
@@ -49,6 +57,7 @@ const useSendMessageWizard = () => {
state.step,
state.selectedContacts.length,
state.message,
state.createdMessage,
state.scheduledTime,
]);