Skip to content

Commit dcba434

Browse files
committed
TypeScript Errors fixed
1 parent 5a0ff8e commit dcba434

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

RELEASE_NOTES.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
### 🐛 Bug Fixes
66

7-
- Fixed the issue of campaigns not sending because of incorrect status.
8-
- Fixed the batch size for processing campaigns.
7+
- TypeScript errors fixed.
98
- Various bug fixes and optimizations.
109

1110
### 📚 Docs

apps/web/src/pages/dashboard/campaigns/[id]/schema.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export const campaignSchema = z.object({
66
subject: z.string().optional(),
77
templateId: z
88
.string()
9+
.nullable()
910
.optional()
1011
.transform((val) => (val === "" ? null : val)),
1112
listIds: z.array(z.string()),

apps/web/src/pages/dashboard/campaigns/columns.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ const statusConfig: Record<
1818
label: "Scheduled",
1919
className: "bg-blue-100 text-blue-800 dark:bg-blue-900 dark:text-blue-200",
2020
},
21+
CREATING: {
22+
label: "Creating",
23+
className: "bg-gray-200 text-gray-800 dark:bg-gray-700 dark:text-gray-200",
24+
},
2125
SENDING: {
2226
label: "Sending",
2327
className:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.5.1",
2+
"version": "0.5.2",
33
"name": "letterspace",
44
"private": true,
55
"scripts": {

0 commit comments

Comments
 (0)