You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/06/26 04:03:22 UTC
[GitHub] [incubator-superset] betodealmeida commented on a change in pull
request #7772: Reuse SVG node
betodealmeida commented on a change in pull request #7772: Reuse SVG node
URL: https://github.com/apache/incubator-superset/pull/7772#discussion_r297476580
##########
File path: superset/assets/src/components/FilterableTable/FilterableTable.jsx
##########
@@ -29,16 +29,18 @@ import {
SortIndicator,
Table,
} from 'react-virtualized';
-import { getTextDimension } from '@superset-ui/dimension';
+import { createSVGNode, getTextDimension } from '@superset-ui/dimension';
import { t } from '@superset-ui/translation';
import Button from '../Button';
import CopyToClipboard from '../CopyToClipboard';
import ModalTrigger from '../ModalTrigger';
import TooltipWrapper from '../TooltipWrapper';
+const svg = createSVGNode({ container: document.body });
Review comment:
Ah, good point. I'll do that.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org