Skip to content

Commit

Permalink
typo fix (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
leothorp committed Apr 17, 2020
1 parent 718afe8 commit cb00205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MenuBar/MenuBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default function MenuBar() {

const handleSubmit = (event: FormEvent<HTMLFormElement>) => {
event.preventDefault();
// If this app is deployed as a twilio function, don't change the URL beacuse routing isn't supported.
// If this app is deployed as a twilio function, don't change the URL because routing isn't supported.
if (!window.location.origin.includes('twil.io')) {
window.history.replaceState(null, '', window.encodeURI(`/room/${roomName}${window.location.search || ''}`));
}
Expand Down

0 comments on commit cb00205

Please sign in to comment.