We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9063f6 commit fe0d696Copy full SHA for fe0d696
1 file changed
src/utils/index.ts
@@ -29,8 +29,7 @@ export function getColumnWidthForMeasurement<R, SR>(
29
const widthWithUnit = typeof width === 'number' ? `${width}px` : width;
30
31
// don't break in Node.js (SSR) and jsdom
32
- // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
33
- if (CSS == null) {
+ if (typeof CSS === 'undefined') {
34
return widthWithUnit;
35
}
36
0 commit comments