fix (client): remove invalid non-null assertion

This commit is contained in:
naskya 2024-03-25 23:42:01 +09:00
parent f8e8b3f7ac
commit 7e3cae09a0
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -56,7 +56,7 @@ const ripples = ref<HTMLElement | null>(null);
onMounted(() => {
if (props.autofocus) {
nextTick(() => {
el.value!.focus();
el.value?.focus();
});
}
});