We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c55b558 commit 5533a1eCopy full SHA for 5533a1e
src/with-authentication-required.tsx
@@ -92,7 +92,7 @@ export interface WithAuthenticationRequiredOptions {
92
* ```
93
*
94
* When you wrap your components in this Higher Order Component and an anonymous user visits your component
95
- * they will be redirected to the login page and returned to the page they we're redirected from after login.
+ * they will be redirected to the login page; after login they will be returned to the page they were redirected from.
96
*/
97
const withAuthenticationRequired = <P extends object>(
98
Component: ComponentType<P>,
0 commit comments