Skip to content

Commit

Permalink
[fix] Incorrect bootstrap class
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasklim committed Sep 28, 2020
1 parent f9c0841 commit 575e970
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ test/reports
lib
dist
**/bundle.js
.DS_Store
2 changes: 1 addition & 1 deletion css/s-forms.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/FormManager.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class FormManager extends React.Component {
const formQuestionsData = this.context.getFormQuestionsData();

if (!formQuestionsData.length) {
return <Card className="p-3 font-italic">There are no questions available.</Card>;
return <Card className="p-3 font-italic">There are no questions available...</Card>;
}

const isWizardless = formQuestionsData.every((question) => !FormUtils.isWizardStep(question));
Expand Down
8 changes: 1 addition & 7 deletions src/components/SForms.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,7 @@ const SForms = forwardRef((props, ref) => {
}, []);

if (loading) {
return (
props.loader || (
<Card className="p3 font-italic">
<Card.Body>Loading SForms...</Card.Body>
</Card>
)
);
return props.loader || <Card className="p-3 font-italic">Loading SForms...</Card>;
}

return (
Expand Down

0 comments on commit 575e970

Please sign in to comment.