mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix useRef TypeScript errors
This commit is contained in:
parent
57895e724c
commit
4952fc0119
8 changed files with 8 additions and 8 deletions
|
@ -25,7 +25,7 @@ const UserLibraryAccessPage: FunctionComponent = () => {
|
|||
const [mediaFoldersItems, setMediaFoldersItems] = useState([]);
|
||||
const [devicesItems, setDevicesItems] = useState([]);
|
||||
|
||||
const element = useRef(null);
|
||||
const element = useRef<HTMLDivElement>(null);
|
||||
|
||||
const triggerChange = (select: HTMLInputElement) => {
|
||||
const evt = document.createEvent('HTMLEvents');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue