mirror of
https://github.com/wahyd4/ant-design.git
synced 2026-08-09 12:56:01 +10:00
fix Input document undefined error, close #1321
This commit is contained in:
@@ -2,7 +2,7 @@ import React from 'react';
|
||||
import classNames from 'classnames';
|
||||
|
||||
function ieGT9() {
|
||||
if (typeof document === undefined) {
|
||||
if (typeof document === 'undefined') {
|
||||
return false;
|
||||
}
|
||||
const documentMode = document.documentMode || 0;
|
||||
|
||||
Reference in New Issue
Block a user