This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

feat: add loading state on note deletion

+10 -2
+5 -1
src/webapp/features/cards/components/cardToBeAddedPreview/CardToBeAddedPreview.tsx
··· 139 139 <Group justify="space-between" gap={'xs'}> 140 140 <Text>Delete note?</Text> 141 141 <Group gap={'xs'}> 142 - <Button color="red" onClick={handleDeleteNote}> 142 + <Button 143 + color="red" 144 + onClick={handleDeleteNote} 145 + loading={removeNote.isPending} 146 + > 143 147 Delete 144 148 </Button> 145 149 <Button
+5 -1
src/webapp/features/notes/components/noteCardModal/NoteCardModalContent.tsx
··· 180 180 <Group justify="space-between" gap={'xs'}> 181 181 <Text>Delete note?</Text> 182 182 <Group gap={'xs'}> 183 - <Button color="red" onClick={handleDeleteNote}> 183 + <Button 184 + color="red" 185 + onClick={handleDeleteNote} 186 + loading={removeNote.isPending} 187 + > 184 188 Delete 185 189 </Button> 186 190 <Button