Skip to content

Commit bfe04b8

Browse files
committed
Change import to be from sp-http-base instead to avoid TypeScript error related to package mismatch
1 parent 5220392 commit bfe04b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/spfx/viva/get-started/advanced-card-view-functionality.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ Next, add support for calling the SharePoint REST API and adding the retrieved i
166166
1. Request the list data using the SPFx **SPHttpClient** API. Add the following to the class that implements the ACE:
167167

168168
```typescript
169-
import { SPHttpClient } from '@microsoft/sp-http';
169+
import { SPHttpClient } from '@microsoft/sp-http-base';
170170
171171
..
172172

0 commit comments

Comments
 (0)