fix a bug

This commit is contained in:
naskya 2023-04-15 01:37:53 +09:00
parent 06d56aeb41
commit f531ed2ab2
No known key found for this signature in database
GPG Key ID: 164DFF24E2D40139
1 changed files with 6 additions and 4 deletions

View File

@ -363,10 +363,12 @@ const timeForThem = $computed(() => {
/[^A-Za-zÁĆÉǴÍḰĹḾŃÓṔŔŚÚÝŹáćéǵíḱĺḿńóṕŕśúýź\-\'\.].*/,
""
),
props.user.location!.replace(
props.user
.location!.replace(
/[^A-Za-z0-9ÁĆÉǴÍḰĹḾŃÓṔŔŚÚÝŹáćéǵíḱĺḿńóṕŕśúýź\-\'\.\s].*/,
""
),
)
.trim(),
];
for (const city of maybeCityNames) {