Skip to content

Commit ff8dc82

Browse files
committed
fix: patch up dead link
1 parent 0129957 commit ff8dc82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/docs/src/docs/auth/hocs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ HOCs are functions that take in a component and return a new component with addi
99

1010
This HOC is used to verify that the user is authenticated before rendering the component. If the user **is not authenticated**, the user is redirected to the login page.
1111

12-
*The redirect paths can be configured using the `loginPath` and `dashboardPath` options as described [here](/docs/auth#auth-configuration).*
12+
*The redirect paths can be configured using the `loginPath` and `dashboardPath` options as described [here](/docs/auth/#auth-configuration).*
1313

1414
```jsx
1515
import { withAuthState } from '@hanabira/auth';
@@ -74,7 +74,7 @@ const Dashboard = ({ user, token, refreshToken, setUser, setToken, setRefreshTok
7474

7575
This HOC is used to verify that the user is not authenticated before rendering the component. If the user **is authenticated**, the user is redirected to the "dashboard" page.
7676

77-
*The redirect paths can be configured using the `loginPath` and `dashboardPath` options as described [here](/docs/auth#auth-configuration).*
77+
*The redirect paths can be configured using the `loginPath` and `dashboardPath` options as described [here](/docs/auth/#auth-configuration).*
7878

7979
```jsx
8080
import { withGuestState } from '@hanabira/auth';

0 commit comments

Comments
 (0)