refactor: remove EAInvite flag

This commit is contained in:
liyasthomas
2021-10-03 15:49:04 +05:30
parent ccdd4963cd
commit 7f501241f0
5 changed files with 43 additions and 60 deletions

View File

@@ -44,7 +44,7 @@ const {
$toast,
} = useContext()
const $t = i18n.t.bind(i18n)
const t = i18n.t.bind(i18n)
defineProps<{
show: boolean
@@ -66,7 +66,7 @@ const addNewTeam = () =>
(err) => {
// err is of type "invalid_name" | GQLError<Err>
if (err === "invalid_name") {
$toast.error($t("team.name_length_insufficient").toString(), {
$toast.error(t("team.name_length_insufficient").toString(), {
icon: "error_outline",
})
} else {