mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-09 09:26:22 +00:00
chore: remove unnecessary assertions
This commit is contained in:
parent
2cd94221cd
commit
70cc39b5c6
1 changed files with 2 additions and 2 deletions
|
@ -120,9 +120,9 @@ export function t(key: string, variables?: Record<string, any>): string {
|
|||
}
|
||||
}
|
||||
|
||||
if (!variables) return translation as string;
|
||||
if (!variables) return translation;
|
||||
|
||||
return format(translation as string, variables);
|
||||
return format(translation, variables);
|
||||
};
|
||||
|
||||
// top level support hax (thank you vee!!)
|
||||
|
|
Loading…
Reference in a new issue