mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
fixed audio grid on mobile
This commit is contained in:
parent
c989d50277
commit
44045e7764
6 changed files with 26 additions and 14784 deletions
|
@ -1,4 +1,4 @@
|
|||
import React, { FC, ChangeEvent, useCallback, useState, useEffect } from 'react';
|
||||
import React, { FC, ChangeEvent, useCallback, useState, useEffect, LegacyRef } from 'react';
|
||||
import classNames from 'classnames';
|
||||
import * as styles from '~/styles/inputs.scss';
|
||||
import { Icon } from '~/components/input/Icon';
|
||||
|
@ -19,7 +19,7 @@ const InputText: FC<IInputTextProps> = ({
|
|||
...props
|
||||
}) => {
|
||||
const [focused, setFocused] = useState(false);
|
||||
const [inner_ref, setInnerRef] = useState();
|
||||
const [inner_ref, setInnerRef] = useState<HTMLInputElement>(null);
|
||||
|
||||
const onInput = useCallback(
|
||||
({ target }: ChangeEvent<HTMLInputElement>) => handler(target.value),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue