Skip to content

Commit 4be9894

Browse files
committed
review comments
1 parent b0a4c6f commit 4be9894

File tree

1 file changed

+4
-4
lines changed
  • docs/platforms/javascript/guides/nuxt/features

1 file changed

+4
-4
lines changed

docs/platforms/javascript/guides/nuxt/features/pinia.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Pinia
33
description: "Learn about enabling Sentry's Pinia plugin in Nuxt."
44
---
55

6-
To capture Pinia state data, add `trackPinia` to your client-side Sentry configuration:
6+
To capture [Pinia](https://pinia.vuejs.org/) state data, add `trackPinia` to your client-side Sentry configuration:
77

88
```javascript {3} {filename:sentry.client.config.ts}
99
Sentry.init({
@@ -37,7 +37,7 @@ While we try our best to filter out Personally Identifiable Information (PII) su
3737

3838
### `attachPiniaState` (Boolean)
3939

40-
This is used to attach Pinia state to Sentry events. By default, this is set to `true`. If you don't want to attach Pinia state to events being sent to Sentry, set this to `false`.
40+
This is used to attach Pinia state to Sentry events. By default, this is set to `true`. If you don't want to attach Pinia state to events being sent to Sentry, set this to `false`:
4141

4242
```javascript {2} {filename:sentry.client.config.ts}
4343
trackPinia: {
@@ -57,7 +57,7 @@ trackPinia: {
5757

5858
### `actionTransformer` (Function)
5959

60-
This can be used to remove sensitive information from Pinia actions. The first parameter passed to the function is the Pinia action name. We send all actions by default, if you don't want an action name sent to Sentry, use `return null`.
60+
This can be used to remove sensitive information from Pinia actions. The first parameter passed to the function is the Pinia action name. We send all actions by default, if you don't want an action name sent to Sentry, use `return null`:
6161

6262
```javascript {2-9} {filename:sentry.client.config.ts}
6363
trackPinia: {
@@ -74,7 +74,7 @@ trackPinia: {
7474

7575
### `stateTransformer` (Function)
7676

77-
This is used to remove sensitive information from Pinia state. The first parameter passed to the function is the Pinia state. We attach all state changes by default. If you don't want to attach state changes to events being sent to Sentry, use `return null`. Note, that if you choose not to send state to Sentry, your errors might not have the latest version attached.
77+
This is used to remove sensitive information from a Pinia state. The first parameter passed to the function is the Pinia state. We attach all state changes by default. If you don't want to attach state changes to events being sent to Sentry, use `return null`. Note, that if you choose not to send state to Sentry, your errors might not have the latest version attached:
7878

7979
```javascript {2-23} {filename:sentry.client.config.ts}
8080
trackPinia: {

0 commit comments

Comments
 (0)