mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 19:50:05 +08:00
Disable offline temporarily
This commit is contained in:
parent
306bce385b
commit
aeeabb1263
@ -6,17 +6,12 @@ import { addLocaleData, IntlProvider } from 'react-intl';
|
||||
import 'moment/locale/zh-cn';
|
||||
import { LocaleProvider } from 'antd';
|
||||
import zhCN from 'antd/lib/locale-provider/zh_CN';
|
||||
import OfflineRuntime from '@yesmeck/offline-plugin/runtime';
|
||||
import Header from './Header';
|
||||
import Footer from './Footer';
|
||||
import enLocale from '../../en-US';
|
||||
import cnLocale from '../../zh-CN';
|
||||
import * as utils from '../utils';
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
OfflineRuntime.install();
|
||||
}
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
/* eslint-disable global-require */
|
||||
require('../../static/style');
|
||||
|
Loading…
Reference in New Issue
Block a user