fix a bug

This commit is contained in:
naskya 2023-04-15 01:37:53 +09:00
parent 81a8550d8f
commit 3ecd3cf6a1

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) {