소스 검색

Replace `className="secondary"` by `variant="secondary"` (#21672)

GitOrigin-RevId: a45532c2b4e927c3cc3a771eaf185ced4650f94c
Antoine Clausse 2 년 전
부모
커밋
629435e87a
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      services/web/frontend/js/features/file-tree/components/modals/file-tree-modal-delete.jsx

+ 1 - 1
services/web/frontend/js/features/file-tree/components/modals/file-tree-modal-delete.jsx

@@ -63,7 +63,7 @@ function FileTreeModalDelete() {
           />
           />
         ) : (
         ) : (
           <>
           <>
-            <OLButton className="secondary" onClick={handleHide}>
+            <OLButton variant="secondary" onClick={handleHide}>
               {t('cancel')}
               {t('cancel')}
             </OLButton>
             </OLButton>
             <OLButton variant="danger" onClick={handleDelete}>
             <OLButton variant="danger" onClick={handleDelete}>