You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ta...@apache.org on 2020/10/30 20:20:42 UTC
[incubator-superset] branch master updated: fix: import for moment
in ActivityTable (#11506)
This is an automated email from the ASF dual-hosted git repository.
tai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new cd1d89b fix: import for moment in ActivityTable (#11506)
cd1d89b is described below
commit cd1d89b2b1fddf1d0228f2c8a3581f7ab5c3046a
Author: Phillip Kelley-Dotson <pk...@yahoo.com>
AuthorDate: Fri Oct 30 13:20:10 2020 -0700
fix: import for moment in ActivityTable (#11506)
---
superset-frontend/src/views/CRUD/welcome/ActivityTable.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/superset-frontend/src/views/CRUD/welcome/ActivityTable.tsx b/superset-frontend/src/views/CRUD/welcome/ActivityTable.tsx
index dc44347..ecaddf3 100644
--- a/superset-frontend/src/views/CRUD/welcome/ActivityTable.tsx
+++ b/superset-frontend/src/views/CRUD/welcome/ActivityTable.tsx
@@ -17,13 +17,13 @@
* under the License.
*/
import React, { useEffect, useState } from 'react';
-import moment from 'antd/node_modules/moment';
+import moment from 'moment';
import { styled, t } from '@superset-ui/core';
+import { reject } from 'lodash';
import ListViewCard from 'src/components/ListViewCard';
import { addDangerToast } from 'src/messageToasts/actions';
import SubMenu from 'src/components/Menu/SubMenu';
-import { reject } from 'lodash';
import { getRecentAcitivtyObjs, mq } from '../utils';
import EmptyState from './EmptyState';