undid finland taking over the world

This commit is contained in:
Sendou 2019-11-30 18:21:32 +02:00
parent 626d602793
commit abc64aec85

View File

@ -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 }) => {
<List.Item>
<List.Content>
<Flag name={user.country} />
Finland
{countries.reduce(
(acc, cur) => (cur.code === user.country ? cur.name : acc),
""
)}
</List.Content>
</List.Item>
)}