File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change 11import { useCallback , useEffect , useState } from "react" ;
22import styled from "styled-components" ;
3- import { PrimaryButton } from "../components/button/button" ;
3+ import { DangerousButton , PrimaryButton } from "../components/button/button" ;
44import BUTTON_SIZE from "../components/button/button-size" ;
55import Colors from "../components/color/colors" ;
66import {
@@ -250,23 +250,13 @@ function TestApiPage() {
250250 />
251251 </ Row >
252252 < Row >
253- < PrimaryButton
254- style = {
255- recipients . length === 0
256- ? undefined
257- : { backgroundColor : Colors . error }
258- }
253+ < DangerousButton
259254 size = { buttonSize }
260255 title = "롤링페이퍼 삭제"
261256 onClick = { handleDeleteRecipientsClick }
262257 disabled = { recipients . length === 0 }
263258 />
264- < PrimaryButton
265- style = {
266- recipients . length === 0
267- ? undefined
268- : { backgroundColor : Colors . error }
269- }
259+ < DangerousButton
270260 size = { buttonSize }
271261 title = "메시지 삭제"
272262 onClick = { handleDeleteMessagesClick }
You can’t perform that action at this time.
0 commit comments