Improvements to a11y and scripts

This commit is contained in:
Bad Manners 2024-08-18 22:52:45 -03:00
parent a335aff2d3
commit d022fab5d6
17 changed files with 384 additions and 214 deletions

View file

@ -78,7 +78,7 @@ export const GET: APIRoute<Props, Params> = async ({ props: { story }, site }) =
commissionersList.map((commissioner) => u(commissioner)),
),
...copyrightedCharacters.map(({ user, characters }) =>
t(lang, "characters/characters_are_copyrighted_by", u(user), characters[0] == "" ? [] : characters),
t(lang, "characters/characters_are_copyrighted_by", u(user), characters[0] === "" ? [] : characters),
),
].reduce(async (promise, data) => {
if (!data) {