diff --git a/src/authentication/README.md b/src/authentication/README.md index 7ccdfae96a..de9e336be6 100644 --- a/src/authentication/README.md +++ b/src/authentication/README.md @@ -2,7 +2,7 @@ Our production authentication implementation is provided by Firebase Auth. Auth is registered in the background script and can be used by content scripts over the remote functions interface. -Authentication allows privileged and authorized access of specific features. Including the setup of user-protected multi-device synchronisation channels, and granting premium features to verified subscribed users. As well as a Single Sign-On experience across other Memex services, e.g. posting the the support forum. +Authentication allows privileged and authorized access of specific features. Including the setup of user-protected multi-device synchronisation channels, and granting premium features to verified subscribed users. As well as a Single Sign-On experience across other Memex services, e.g. posting the support forum. ## Consuming Auth @@ -70,7 +70,7 @@ Providing an interface to login is most easily handled by delegating to the UI l We import a `StyledFirebaseAuth from 'react-firebaseui/StyledFirebaseAuth'`. The slight caveat here is the Firebase app object needs to be re-initialised in this script's scope, so that this UI library can use it directly (using the Firebase app already setup in the background script and trying to serialise it over the ipc channel is problematic). This just means importing firebase with it's config by way of `import { firebase } from 'src/util/firebase-app-initialized'` and providing the `StyledFirebaseAuth` with the param `firebaseAuth={firebase.auth()}`. -The backend Firebase app will will react to changes in the Authentication triggered above. +The backend Firebase app will react to changes in the Authentication triggered above. ## Subscription diff --git a/src/common-ui/components/TextInputControlled.tsx b/src/common-ui/components/TextInputControlled.tsx index 39e59f7450..9f30bf65b5 100644 --- a/src/common-ui/components/TextInputControlled.tsx +++ b/src/common-ui/components/TextInputControlled.tsx @@ -295,7 +295,7 @@ class TextInputControlled extends React.Component< } private handleInputTextEvent(e: ReTargetedTextElementEvent) { - // Here we take advantage of the the e.key either being a single character descriptor like 'A','?','0',etc + // Here we take advantage of the e.key either being a single character descriptor like 'A','?','0',etc // or a key description like 'Enter', 'Backspace', etc. Single chars are for input, others are not. if (e.key.length <= 1 && !(e.ctrlKey || e.metaKey)) { this.handleInput(e.key)