Skip to content

Commit

Permalink
Fixed alerts showing default react logo
Browse files Browse the repository at this point in the history
  • Loading branch information
ReedKrawiec committed Jan 3, 2022
1 parent 25544c7 commit 51bcd0a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 1 deletion.
Binary file modified WEB_APP/front_end/public/logo192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified WEB_APP/front_end/public/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion WEB_APP/front_end/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ const App = () => {
const [hasPaired,setPaired] = useState(false)
useEffect(()=>{
socket.on('message', function (message) {
console.log(message);
if(message == "alert"){
Notification.requestPermission(function(status) {
if(Notification.permission == 'granted'){
Expand Down

0 comments on commit 51bcd0a

Please sign in to comment.