Commit 113b81c
committed
Fix StickyBottomBanner to dispatch 'banner:none' event only when no banner is rendered - adding logic inside of useEffect before returning to prevent lint error
1 parent 6bf2fad commit 113b81c
File tree
1 file changed
+9
-8
lines changed- dotcom-rendering/src/components
1 file changed
+9
-8
lines changedLines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
405 | 414 | | |
406 | 415 | | |
407 | 416 | | |
408 | 417 | | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | 418 | | |
418 | 419 | | |
0 commit comments