Skip to content

Commit a217464

Browse files
committed
fix: add Cancel button to FolderReorderingModal
1 parent 789315a commit a217464

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/components/FolderReorderingModal.jsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,12 @@ const FolderReorderingModal = ({
168168
</DragDropContext>
169169
</div>
170170
<div className={contentStyles.sectionFooter}>
171+
<LoadingButton
172+
label={`Cancel`}
173+
disabledStyle={elementStyles.disabled}
174+
className={`${elementStyles.warning}`}
175+
callback={() => setIsRearrangeActive(false)}
176+
/>
171177
<LoadingButton
172178
label={`Done`}
173179
className={elementStyles.blue}

0 commit comments

Comments
 (0)