Commit a110e81
authored
fix: make sure wrapper is found before accessing the classList (#225)
When used with https://github.com/pmmmwh/react-refresh-webpack-plugin this error shows up during incremental builds.
```Cannot read property 'classList' of null```1 parent cc0de77 commit a110e81
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
| |||
0 commit comments