mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-20 20:15:20 +03:00
refactor: run formatter
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
// Using autofocus can be bad for a11y, but in the case of Pocket ID is only used responsibly in places where there are not many choices, and on buttons only where there's descriptive text
|
||||
if (autofocus) {
|
||||
// Use setTimeout to make sure the element is showing
|
||||
setTimeout(() => ref?.focus(), 100)
|
||||
setTimeout(() => ref?.focus(), 100);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user