@lysaab/lysa-pep 0.15.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,8 @@ import { roleAlternatives, militaryAlternatives } from "../pages/PepRolePage";
6
6
  import { EntityType, PepType } from "../pages/PepContext";
7
7
  export const PepAnswers = ({ answer }) => {
8
8
  if (!answer.type || answer.type === PepType.NOT_PEP) {
9
- return React.createElement("div", null, "Inte PEP");
9
+ return React.createElement("div", null,
10
+ React.createElement("p", null, "Personen \u00E4r inte PEP"));
10
11
  }
11
12
  const labels = LABELS("");
12
13
  const country = countries.find(country => country.value === answer.country);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lysaab/lysa-pep",
3
3
  "author": "Lysa AB",
4
- "version": "0.15.0",
4
+ "version": "0.16.0",
5
5
  "main": "./lib/Exports.js",
6
6
  "dependencies": {
7
7
  "@types/luxon": "^1.15.2",
@@ -12,7 +12,7 @@ interface Props {
12
12
 
13
13
  export const PepAnswers: FunctionComponent<Props> = ({ answer }) => {
14
14
  if (!answer.type || answer.type === PepType.NOT_PEP) {
15
- return <div>Inte PEP</div>;
15
+ return <div><p>Personen är inte PEP</p></div>;
16
16
  }
17
17
 
18
18
  const labels = LABELS("");