Objective damage calc page title

This commit is contained in:
Kalle 2022-10-24 00:27:53 +03:00
parent 1671653839
commit 3c69208ced
2 changed files with 4 additions and 1 deletions

View File

@ -29,6 +29,7 @@ import clsx from "clsx";
import { Label } from "~/components/Label";
import { Ability } from "~/components/Ability";
import { damageTypeTranslationString } from "~/utils/i18next";
import { useSetTitle } from "~/hooks/useSetTitle";
export const links: LinksFunction = () => {
return [{ rel: "stylesheet", href: styles }];
@ -170,7 +171,8 @@ function DamageReceiversGrid({
ReturnType<typeof useObjectDamage>,
"damagesToReceivers" | "subWeaponId"
>) {
const { t } = useTranslation(["weapons", "analyzer"]);
const { t } = useTranslation(["weapons", "analyzer", "common"]);
useSetTitle(t("common:pages.object-damage"));
return (
<div

View File

@ -9,6 +9,7 @@
"pages.builds": "Builds",
"pages.analyzer": "Build Analyzer",
"pages.maps": "Map Lists",
"pages.object-damage": "Object Damage Calculator",
"header.profile": "Profile",
"header.logout": "Log out",