This commit is contained in:
Primakov Alexandr Alexandrovich 2022-11-29 21:36:42 +03:00
parent 8405acb27d
commit a387785361
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "hub-video-start", "name": "hub-video-start",
"version": "1.0.0", "version": "1.0.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "hub-video-start", "name": "hub-video-start",
"version": "1.0.0", "version": "1.0.1",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@emotion/react": "^11.10.5", "@emotion/react": "^11.10.5",

View File

@ -1,6 +1,6 @@
{ {
"name": "hub-video-start", "name": "hub-video-start",
"version": "1.0.0", "version": "1.0.1",
"description": "", "description": "",
"main": "./src/index.tsx", "main": "./src/index.tsx",
"scripts": { "scripts": {

View File

@ -34,7 +34,7 @@ const fullScreenFeature = getFeatures('hub-video-start')?.fullScreen;
const Input = ({ onStart }) => { const Input = ({ onStart }) => {
const [value, setValue] = useState(''); const [value, setValue] = useState('');
const [inFocuse, setInfocuse] = useState(true); const [inFocuse, setInfocuse] = useState(false);
const handleChange = useCallback(event => { const handleChange = useCallback(event => {
setValue(event.target.value.toUpperCase()) setValue(event.target.value.toUpperCase())
}, [setValue]); }, [setValue]);