Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
xudafeng committed Aug 25, 2022
1 parent a34a595 commit 1d321a2
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion view/src/components/BuildsTabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { Tabs } from 'antd';
import { withRouter } from 'react-router-dom';
import { FormattedMessage } from 'react-intl';
import safeGet from 'lodash.get';
import safeGet from 'lodash/get';

import request from '../util/request';
import BuildsTable from './BuildsTable';
Expand Down
4 changes: 2 additions & 2 deletions view/src/components/DingdingSetting.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useEffect, useState } from 'react';
import safeGet from 'lodash.get';
import uniqBy from 'lodash.uniqby';
import safeGet from 'lodash/get';
import { uniqBy } from 'lodash';
import { FormattedMessage } from 'react-intl';
import {
Form,
Expand Down
2 changes: 1 addition & 1 deletion view/src/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
UserOutlined,
LogoutOutlined,
} from '@ant-design/icons';
import safeGet from 'lodash.get';
import safeGet from 'lodash/get';
import { FormattedMessage } from 'react-intl';
import GitHubButton from 'react-github-button';

Expand Down
2 changes: 1 addition & 1 deletion view/src/components/OneBuildTabs.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import moment from 'moment';
import safeGet from 'lodash.get';
import safeGet from 'lodash/get';
import { Spin, Tabs } from 'antd';
import { FormattedMessage } from 'react-intl';

Expand Down
2 changes: 1 addition & 1 deletion view/src/components/PkgTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
} from 'antd';
import { QrcodeOutlined } from '@ant-design/icons';

import safeGet from 'lodash.get';
import safeGet from 'lodash/get';

import {
getUuid,
Expand Down
2 changes: 1 addition & 1 deletion view/src/components/SiteSetting.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useEffect, useState } from 'react';
import safeGet from 'lodash.get';
import safeGet from 'lodash/get';
import { FormattedMessage } from 'react-intl';
import {
Form,
Expand Down
2 changes: 1 addition & 1 deletion view/src/page/Insight.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
BulbOutlined,
} from '@ant-design/icons';
import React from 'react';
import safeGet from 'lodash.get';
import safeGet from 'lodash/get';

import { Link } from 'react-router-dom';
import { FormattedMessage } from 'react-intl';
Expand Down
2 changes: 1 addition & 1 deletion view/src/page/SnsAuthorize.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import Script from 'react-load-script';
import queryString from 'query-string';
import safeGet from 'lodash.get';
import safeGet from 'lodash/get';
import { DingdingOutlined } from '@ant-design/icons';

import ReliableLayout from '../components/ReliableLayout';
Expand Down

0 comments on commit 1d321a2

Please sign in to comment.