From 28ebb696129a75aff2ed160164fa0d1a4715f4dd Mon Sep 17 00:00:00 2001
From: Krish Patel <73570982+DragonFlamez@users.noreply.github.com>
Date: Wed, 5 Mar 2025 14:15:59 -0600
Subject: [PATCH] style: update delete schedule prompt (#546)
Co-authored-by: Samuel Gunter <29130894+Samathingamajig@users.noreply.github.com>
---
src/views/components/common/ScheduleListItem.tsx | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/views/components/common/ScheduleListItem.tsx b/src/views/components/common/ScheduleListItem.tsx
index d79038f9..1311093e 100644
--- a/src/views/components/common/ScheduleListItem.tsx
+++ b/src/views/components/common/ScheduleListItem.tsx
@@ -109,12 +109,14 @@ export default function ScheduleListItem({ schedule, onClick }: ScheduleListItem
const handleDelete = () => {
showDialog({
- title: 'Are you sure?',
+ title: 'Delete schedule?',
description: (
<>
- Deleting
- {schedule.name}
- is permanent and will remove all added courses from that schedule.
+ Deleting
+ {schedule.name}
+ is permanent and will remove all added courses from
+ {schedule.name}
+ .
>
),
// eslint-disable-next-line react/no-unstable-nested-components
@@ -126,12 +128,13 @@ export default function ScheduleListItem({ schedule, onClick }: ScheduleListItem
>
),