From bcf81547b943503c33cbf97e063e8b34bb0b9be3 Mon Sep 17 00:00:00 2001 From: "Kalle (Sendou)" <38327916+Sendouc@users.noreply.github.com> Date: Fri, 11 Dec 2020 11:04:20 +0200 Subject: [PATCH] zink mini splatling ending white space some fix --- components/common/WeaponImage.tsx | 2 +- prisma/scripts/leagueJsons.ts | 2 +- prisma/scripts/top500jsons.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/common/WeaponImage.tsx b/components/common/WeaponImage.tsx index ea66c5b56..b076a16cb 100644 --- a/components/common/WeaponImage.tsx +++ b/components/common/WeaponImage.tsx @@ -13,7 +13,7 @@ const WeaponImage: React.FC = ({ name, size, noTitle }) => { return ( {i18n._(name)} ({ - weapon: getWeaponNormalized(member.weapon[1]), + weapon: getWeaponNormalized(member.weapon[1].trim()), player: { connectOrCreate: { create: { diff --git a/prisma/scripts/top500jsons.ts b/prisma/scripts/top500jsons.ts index 92dc64d8a..6eb29f88d 100644 --- a/prisma/scripts/top500jsons.ts +++ b/prisma/scripts/top500jsons.ts @@ -23,7 +23,7 @@ const jsonToInput = ( year, ranking: result.rank, xPower: result.x_power, - weapon: getWeaponNormalized(result.weapon.name), + weapon: getWeaponNormalized(result.weapon.name.trim()), player: { connectOrCreate: { create: {