Skip to content

An open source alternative to Tableau. Embeddable visual analytic

fix css

islxyqwe162ecabc47f2
diff --git a/packages/graphic-walker/src/main.tsx b/packages/graphic-walker/src/main.tsx
index bc9f49af..097579f0 100644
--- a/packages/graphic-walker/src/main.tsx
+++ b/packages/graphic-walker/src/main.tsx
@@ -1,5 +1,6 @@
import { inject } from '@vercel/analytics';
import { embedGraphicWalker } from './vanilla';
+import './index.css';
if (!import.meta.env.DEV) {
inject();
diff --git a/packages/graphic-walker/src/vanilla.tsx b/packages/graphic-walker/src/vanilla.tsx
index 6ee5d082..a4298e2a 100644
--- a/packages/graphic-walker/src/vanilla.tsx
+++ b/packages/graphic-walker/src/vanilla.tsx
@@ -2,7 +2,6 @@ import React from 'react';
import ReactDOM from 'react-dom';
import { GraphicWalker } from './index';
-import './index.css';
import { IGWProps } from './App';
export function embedGraphicWalker (dom: HTMLElement | null, props: IGWProps | undefined = {}) {