Skip to content

Commit b7ec94a

Browse files
committed
feat [#83] 롤링 페이퍼 삭제 버튼을 DangerousButton으로 교체
1 parent 30f9643 commit b7ec94a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/pages/messages-page.jsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
import { useEffect, useMemo, useState } from "react";
22
import { useLocation, useNavigate, useParams } from "react-router";
33
import styled from "styled-components";
4-
import { OutlinedButton, PrimaryButton } from "../components/button/button";
4+
import {
5+
DangerousButton,
6+
OutlinedButton,
7+
PrimaryButton,
8+
} from "../components/button/button";
59
import BUTTON_SIZE from "../components/button/button-size";
610
import BACKGROUND_COLOR from "../components/color/background-color";
711
import {
@@ -74,14 +78,14 @@ function ViewerButtons({ onEdit }) {
7478
function EditingButtons({ onDelete, onCancel }) {
7579
return (
7680
<ButtonContainer>
77-
<PrimaryButton
81+
<DangerousButton
7882
size={BUTTON_SIZE.medium}
7983
title="삭제하기"
8084
onClick={onDelete}
8185
/>
8286
<OutlinedButton
8387
size={BUTTON_SIZE.medium}
84-
title="완료하기"
88+
title="완료"
8589
onClick={onCancel}
8690
/>
8791
</ButtonContainer>

0 commit comments

Comments
 (0)