Skip to content

Commit 711e081

Browse files
committed
Fix link to sample
1 parent aaf4a02 commit 711e081

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/spfx/web-parts/guidance/use-sp-pnp-js-with-spfx-web-parts.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You may choose to use the [@pnp/sp](https://www.npmjs.com/package/@pnp/sp) libra
1212

1313
[!INCLUDE [pnp-js](../../../../includes/snippets/open-source/pnp-js.md)]
1414

15-
You can download the [full source](https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/eact-pnp-js-sample) for this article from the samples site.
15+
You can download the [full source](https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-pnp-js-sample) for this article from the samples site.
1616

1717
> [!NOTE]
1818
> Before following the steps in this article, be sure to [set up your SharePoint client-side web part development environment](../../set-up-your-development-environment.md).
@@ -76,6 +76,7 @@ npm install @pnp/logging @pnp/sp --save
7676
```
7777

7878
### For SPFx Version 1.14.x or those that aren't supporting typescript v4.x
79+
7980
>Note: PnPjs version 3.x is only supported in SPFx version 1.14 and higher and NodeJs version 12.x and higher.
8081
8182
1. Update the rush stack compiler to 4.2. This is covered in this [great article by Elio](https://www.eliostruyf.com/define-the-typescript-version-you-want-to-use-in-sharepoint-framework/), but the steps are listed below.
@@ -380,6 +381,6 @@ The @pnp/sp library contains a great range of functionality and extensibility. F
380381

381382
## See also
382383

383-
- [Download the full sample](https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-async-await-sp-pnp-js)
384+
- [Download the full sample](https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-pnp-js-sample)
384385
- [Provide feedback or report issues](https://github.com/SharePoint/PnP-JS-Core/issues)
385386
- [SharePoint Framework Overview](../../sharepoint-framework-overview.md)

0 commit comments

Comments
 (0)