Skip to content

Commit

Permalink
Changed how RadioGroup imports HelpBlock
Browse files Browse the repository at this point in the history
Importing from `'react-bootstrap/lib/HelpBlock'` is the more optimized way to import react bootstrap components.
  • Loading branch information
SanttuA committed Nov 21, 2023
1 parent 5bbae48 commit db6e2d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/shared/form-fields/RadioGroup.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { Field } from 'redux-form';
import PropTypes from 'prop-types';
import { HelpBlock } from 'react-bootstrap';
import HelpBlock from 'react-bootstrap/lib/HelpBlock';


function RadioGroup({ legend, legendHint, radioOptions }) {
Expand Down

0 comments on commit db6e2d6

Please sign in to comment.