mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-05 01:19:29 +00:00
Refac delete buttons order to be in a row
This commit is contained in:
@@ -349,8 +349,9 @@ const Video = () => {
|
||||
)}
|
||||
|
||||
{showDeleteConfirm && (
|
||||
<div className="delete-confirm" id="delete-button">
|
||||
<div className="delete-confirm">
|
||||
<span>Are you sure? </span>
|
||||
|
||||
<Button
|
||||
label="Delete"
|
||||
className="danger-button"
|
||||
@@ -358,7 +359,8 @@ const Video = () => {
|
||||
await deleteVideo(videoId);
|
||||
navigate(Routes.Channel(video.channel.channel_id));
|
||||
}}
|
||||
/>{' '}
|
||||
/>
|
||||
|
||||
<Button
|
||||
label="Cancel"
|
||||
onClick={() => setShowDeleteConfirm(!showDeleteConfirm)}
|
||||
|
||||
Reference in New Issue
Block a user