Skip to content

Commit b1e98ca

Browse files
chore: Modify the schedule creation prompt (#550)
* chore: modify the schedule creation prompt * chore: changed border color to offwhite --------- Co-authored-by: Samuel Gunter <[email protected]>
1 parent f036d40 commit b1e98ca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/views/components/common/DialogProvider/DialogProvider.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function usePrompt(): (info: PromptInfo, options?: DialogOptions) => void
4646
{info.description}
4747
</Text>
4848
),
49-
className: 'max-w-[400px] flex flex-col gap-2.5 p-6.25',
49+
className: 'max-w-[415px] flex flex-col gap-2.5 p-6.25 border border-ut-offwhite/50',
5050
},
5151
options
5252
);

src/views/hooks/useEnforceScheduleLimit.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ export function useEnforceScheduleLimit(): () => boolean {
2121
return useCallback(() => {
2222
if (schedules.length >= SCHEDULE_LIMIT) {
2323
showDialog({
24-
title: `You have ${SCHEDULE_LIMIT} active schedules!`,
24+
title: `You have too many schedules!`,
2525

2626
description: (
2727
<>
2828
To encourage organization,{' '}
29-
<span className='text-ut-burntorange'>please consider removing some unused schedules</span> you
29+
<span className='text-ut-burntorange'>please consider deleting any unused schedules</span> you
3030
may have.
3131
</>
3232
),
3333

3434
buttons: close => (
3535
<Button variant='filled' color='ut-burntorange' onClick={close}>
36-
I Understand
36+
I understand
3737
</Button>
3838
),
3939
});

0 commit comments

Comments
 (0)