Skip to content

Commit 98e8e4a

Browse files
baywetVesaJuvonen
authored andcommitted
adding a _ in front of unused parameter to avoid linting issues (SharePoint#3317)
1 parent b6fd4fd commit 98e8e4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/spfx/web-parts/get-started/using-web-part-as-ms-teams-tab.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Teams folder contains following three files:
112112
protected onInit(): Promise<any> {
113113
let retVal: Promise<any> = Promise.resolve();
114114
if (this.context.microsoftTeams) {
115-
retVal = new Promise((resolve, reject) => {
115+
retVal = new Promise((resolve, _reject) => {
116116
this.context.microsoftTeams.getContext(context => {
117117
this._teamsContext = context;
118118
resolve();

0 commit comments

Comments
 (0)