Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: polish content #612

Merged
merged 1 commit into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/sdk/native/expo/_integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Switch to the application details page of Logto Console. Add a native redirect U
}
```

Now back to your app, you can use `useLogto` hook to sign in and sign out:
Now back to your app, you can use `useLogto` hook to sign in and sign out:

```tsx
import { useLogto } from '@logto/rn';
Expand Down
4 changes: 3 additions & 1 deletion docs/sdk/spa/angular/_integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ export class AppComponent implements OnInit {
Then, in the template, add buttons to sign in and sign out:

```html
<button (click)="signIn()">Sign in</button> <button (click)="signOut()">Sign out</button>
<button (click)="signIn()">Sign in</button>
<br />
<button (click)="signOut()">Sign out</button>
```

### Subscribe to authentication state and display user information
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/web/nuxt/_integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import SignInFlowSummary from '../../fragments/_web-sign-in-flow-summary.mdx';

### Register Logto module

In your Nuxt config file, add the Logto module:
In your Nuxt config file (`next.config.ts`), add the Logto module:

```ts
export default defineNuxtConfig({
Expand Down
Loading