diff --git a/react-ui/src/components/user/ProfileLists.js b/react-ui/src/components/user/ProfileLists.js index 0a50dfa7b..a01d3e9a1 100644 --- a/react-ui/src/components/user/ProfileLists.js +++ b/react-ui/src/components/user/ProfileLists.js @@ -1,6 +1,7 @@ import React from "react" import { List, Flag, Grid } from "semantic-ui-react" import WpnImage from "../common/WpnImage" +import { countries } from "../../utils/lists" const SensListItem = ({ sens }) => { const stickSensString = sens.stick @@ -56,7 +57,10 @@ const ProfileLists = ({ user }) => { - Finland + {countries.reduce( + (acc, cur) => (cur.code === user.country ? cur.name : acc), + "" + )} )}