Commit Graph

7 Commits

Author SHA1 Message Date
Beau Cameron d3cd98f612
Fixing Context Conditional in GetSP
Better handling of truthy/falsy
2023-02-14 06:53:24 -07:00
Paolo Pialorsi d260ee4a67
Merge pull request #3036 from mikezimm/patch-1
add await to super.onInit() in sample
2022-11-07 17:50:27 +01:00
mikezimm 644cb04dad
disable eslint if the logic needs to be != null
Got warning in SPFx 1.15.2 new web part
```console
[00:55:35] Warning - lint - src\webparts\listAPalooza\pnpjsConfig.ts(15,15): error eqeqeq: Expected '!==' and instead saw '!='.
```
2022-09-28 01:11:53 -04:00
mikezimm fdbec37d1c
add await to super.onInit() in sample
I was getting floating promise warning when calling super.onInit() without an await;
Added await and the warning went away.

```console
[00:46:34] Warning - lint - src\webparts\listAPalooza\ListAPaloozaWebPart.ts(44,5): error @typescript-eslint/no-floating-promises: Promises mu
[00:46:34] Warning - lint - src\webparts\listAPalooza\pnpjsConfig.ts(15,15): error eqeqeq: Expected '!==' and instead saw '!='.
```
2022-09-28 01:02:01 -04:00
Julie Turner 29c72683fe Bug fix & dependency update 2022-08-29 21:25:12 +00:00
Julie Turner e63eaf76a5 PnPjs Version 3 Sample 2022-02-22 19:57:47 +00:00
Julie Turner ddfb562109 New PnPjs v3 sample
Ready to have new package-lock.json file created when 1.14.0 and v3 drop
2022-01-27 21:03:19 +00:00