Skip to content

Commit

Permalink
use break in a switch instead of return
Browse files Browse the repository at this point in the history
  • Loading branch information
SillyFreak committed Jun 27, 2020
1 parent d1e3bfa commit 653f8fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes/webrtc/useConclave.js
Expand Up @@ -80,15 +80,15 @@ export default function useConclave(
const { siteId } = action;

remoteCursors.dispatch({ type: 'REMOVE', siteId });
return;
break;
}
case 'INSERT': {
content.refreshValue();
return;
break;
}
case 'DELETE': {
content.refreshValue();
return;
break;
}
}
}
Expand Down

0 comments on commit 653f8fa

Please sign in to comment.