mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-11 12:05:53 +00:00
4 lines
131 B
TypeScript
4 lines
131 B
TypeScript
/** Focus the given element when it is mounted. */
|
|
export const initInput = (element: HTMLInputElement) => {
|
|
element.focus();
|
|
};
|