mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-24 09:41:17 +00:00
12 lines
235 B
JavaScript
12 lines
235 B
JavaScript
const useFocus = (el) => {
|
|
return {
|
|
focus: () => {
|
|
var _a, _b;
|
|
(_b = (_a = el.value) == null ? void 0 : _a.focus) == null ? void 0 : _b.call(_a);
|
|
}
|
|
};
|
|
};
|
|
|
|
export { useFocus };
|
|
//# sourceMappingURL=index.mjs.map
|