Skip to content

Commit 08f5b18

Browse files
committed
Not removing description because description is required property of IPrimaryTextCardParameters
1 parent 99e8807 commit 08f5b18

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/spfx/viva/get-started/build-first-sharepoint-adaptive-card-extension.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,12 +338,13 @@ Let's change this:
338338
next, remove the reference to `this.properties.description` from the Card view:
339339

340340
1. Locate and open the following file: **./src/adaptiveCardExtensions/helloWorld/cardView/CardView.ts**.
341-
1. Remove the `description` property in the returned object:
341+
1. Edit the `description` property in the returned object to be an empty string:
342342

343343
```typescript
344344
public get data(): IPrimaryTextCardParameters {
345345
return {
346-
primaryText: strings.PrimaryText
346+
primaryText: strings.PrimaryText,
347+
description: ''
347348
};
348349
}
349350
```

0 commit comments

Comments
 (0)