mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-24 20:16:41 -05:00
undid finland taking over the world
This commit is contained in:
6
react-ui/src/components/user/ProfileLists.js
vendored
6
react-ui/src/components/user/ProfileLists.js
vendored
@@ -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>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user