diff --git a/package.json b/package.json index ccc5c04..232154b 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ ] }, "scripts": { - "go": "npm run build && rm ./build/video.mp4 && scp -r ./build danilo@enne2.net:www/letsswingchat/", + "go": "npm run build && rm ./build/*.mp4 && scp -r ./build danilo@enne2.net:www/letsswingchat/", "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", diff --git a/public/manifest.json b/public/manifest.json index 080d6c7..c3bb57d 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,6 +1,6 @@ { - "short_name": "React App", - "name": "Create React App Sample", + "short_name": "Chat Let's Swing!", + "name": "Chat Let's Swing!", "icons": [ { "src": "favicon.ico", diff --git a/src/ImageUpload.js b/src/ImageUpload.js index 77e4404..94d0a98 100644 --- a/src/ImageUpload.js +++ b/src/ImageUpload.js @@ -66,22 +66,38 @@ function ImageUpload({ onImageURLSet, onImageUploading }) { default: case IDLE: componente = ( - <> + - ); break; case IMAGE_SET: diff --git a/src/MyForm.js b/src/MyForm.js index a2de7c1..9b2ef9a 100644 --- a/src/MyForm.js +++ b/src/MyForm.js @@ -20,6 +20,7 @@ export const MyForm = () => { keepValues: false, }); setMandato(true); + cambiaimmagineURL(null); var postListRef = firebase.database().ref(`messaggi/${evento}`); var newPostRef = postListRef.push(); const update = { diff --git a/src/Proiezione.js b/src/Proiezione.js index cd676f7..5bfee84 100644 --- a/src/Proiezione.js +++ b/src/Proiezione.js @@ -184,10 +184,9 @@ const Messaggio = ({ messaggiApprovati }) => { }; export const VideoComponent = React.memo(() => { - console.log("asdf"); return ( ); });