Skip to content

Commit 2570123

Browse files
committed
Update page.tsx
1 parent 0b5cb7c commit 2570123

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/createAnnouncement/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ const CreateAnnouncement = () => {
294294
bg="white"
295295
borderColor="#596435"
296296
color="#596435"
297+
onClick={() => router.push("/messages")}
297298
>
298299
Cancel
299300
</Button>
@@ -457,6 +458,7 @@ const CreateAnnouncement = () => {
457458
borderColor="#596435"
458459
color="#596435"
459460
size="sm"
461+
onClick={() => router.push("/messages")}
460462
>
461463
Cancel
462464
</Button>

0 commit comments

Comments
 (0)