File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 41
41
type =" button"
42
42
class =" flex h-5 w-5 items-center justify-center rounded md:hidden md:group-hover:flex"
43
43
title =" Confirm delete action"
44
- on:click |preventDefault ={() => dispatch (" deleteConversation" , conv .id )}
44
+ on:click |preventDefault ={() => {
45
+ confirmDelete = false ;
46
+ dispatch (" deleteConversation" , conv .id );
47
+ }}
45
48
>
46
49
<CarbonCheckmark class =" text-xs text-gray-400 hover:text-gray-500 dark:hover:text-gray-300" />
47
50
</button >
48
51
<button
49
52
type =" button"
50
53
class =" flex h-5 w-5 items-center justify-center rounded md:hidden md:group-hover:flex"
51
54
title =" Cancel delete action"
52
- on:click |preventDefault ={() => {
53
- confirmDelete = false ;
54
- }}
55
+ on:click |preventDefault ={() => (confirmDelete = false )}
55
56
>
56
57
<CarbonClose class =" text-xs text-gray-400 hover:text-gray-500 dark:hover:text-gray-300" />
57
58
</button >
You can’t perform that action at this time.
0 commit comments