Skip to content

Commit

Permalink
fix: AddAllowedToAct helptext white screen bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasBK committed Apr 27, 2023
1 parent 69786fa commit 5f1452a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/Modals/HelpTexts/AddAllowedToAct/General.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import React from 'react';
import PropTypes from 'prop-types';
import { groupSpecialFormat } from '../Formatter';

const General = (sourceName, sourceType, targetName) => {
const General = ({sourceName, sourceType, targetName}) => {
return (
<>
<p>
Expand Down Expand Up @@ -43,4 +44,10 @@ const General = (sourceName, sourceType, targetName) => {
);
};

General.propTypes = {
sourceName: PropTypes.string,
sourceType: PropTypes.string,
targetName: PropTypes.string,
};

export default General;

0 comments on commit 5f1452a

Please sign in to comment.