refactor(client): replace Bootstrap button in modals and solution widget (#52378)

Co-authored-by: Sboonny <muhammedelruby@gmail.com>
This commit is contained in:
Huyen Nguyen
2023-12-20 15:23:42 +07:00
committed by GitHub
parent edb9c17735
commit ac09cc2df9
10 changed files with 55 additions and 57 deletions

View File

@@ -1,8 +1,8 @@
import { Button, Modal } from '@freecodecamp/react-bootstrap';
import { Modal } from '@freecodecamp/react-bootstrap';
import { connect } from 'react-redux';
import React from 'react';
import { useTranslation } from 'react-i18next';
import { Row } from '@freecodecamp/ui';
import { Row, Button } from '@freecodecamp/ui';
import type { GeneratedExamResults } from '../../redux/prop-types';
import { closeModal } from '../../templates/Challenges/redux/actions';

View File

@@ -1,6 +1,8 @@
import { Button, Modal } from '@freecodecamp/react-bootstrap';
import React from 'react';
import { useTranslation } from 'react-i18next';
import { Modal } from '@freecodecamp/react-bootstrap';
import { Button } from '@freecodecamp/ui';
import { CompletedChallenge } from '../../redux/prop-types';
import SolutionViewer from './solution-viewer';